---
title: "Spintax: Creating Email Variations"
url: https://docs.mailbeast.ai/en/articles/49-spintax-creating-email-variations
collection: "Campaigns & Sequences"
updated: 2026-11-04
language: en
---

# Spintax: Creating Email Variations

Spintax is a simple syntax that creates multiple versions of your email automatically. It's one of the most important tools for cold-email deliverability, and one of the easiest to use.

* * *

## What is spintax?

Spintax uses curly braces and pipe characters to define options. When the email is sent, MailBeast randomly picks ONE option from each group.

**Syntax:** `{option1|option2|option3}`

**Example:**

```
{Hi|Hello|Hey} {{first_name}},

{I noticed|I saw|I came across} {{company_name}} and {thought you might find this relevant|wanted to reach out}.
```

This could produce any of these combinations:

-   "Hi Sarah, I noticed Acme Corp and thought you might find this relevant."
    
-   "Hello Sarah, I saw Acme Corp and wanted to reach out."
    
-   "Hey Sarah, I came across Acme Corp and thought you might find this relevant."
    

Each recipient gets a different version.

* * *

## Why spintax matters for deliverability

When you send the exact same email to many recipients, Gmail and Outlook spot the pattern fast - and once they classify your message as bulk, it gets filtered to spam across all the accounts that received it.

Spintax breaks that pattern. Every recipient gets a slightly different email, so Gmail and Outlook can't lump your sends together. The result is better inbox placement.

> **Info:** **Bottom line:** if you're sending cold emails, use spintax on every message. It's not optional - it's the difference between landing in the inbox and landing in spam.

* * *

## Where to use spintax

### Subject lines

```
{Quick question|Thought for|Idea about} {{company_name}}
```

### Greetings

```
{Hi|Hello|Hey} {{first_name}},
```

### Opening lines

```
{I noticed|I saw|I came across} {your company|{{company_name}}} {is growing|is expanding|has been making moves}.
```

### Calls to action

```
{Would you be open to|Are you available for|Could we schedule} a {quick call|brief chat|15-minute call}?
```

### Sign-offs

```
{Best|Cheers|Thanks|Regards},
```

* * *

## Spintax in the editor

The **{Spintax}** button on the right of the editor toolbar wraps the cursor (or your selection) in a `{|}` block - place your cursor where you want a spin, click the button, and start typing the alternatives separated by `|`.

The editor highlights spintax blocks with colored syntax so they stand out from the surrounding text, and the live word count at the bottom of the editor adds a range when spintax is present (e.g. _Spintaxed: 68 - 94 words_) - the shortest and longest possible versions across every combination.

* * *

## Nesting spintax

You can nest spintax blocks inside each other for more variation:

```
{Hi {Sarah|there}|Hello {friend|colleague}}
```

This produces: "Hi Sarah", "Hi there", "Hello friend", or "Hello colleague".

Keep nesting shallow and readable. Over-nesting makes editing difficult and increases the chance of syntax errors.

* * *

## Spintax + variables

Spintax and [variables](https://docs.mailbeast.ai/en/articles/48.md) work together but are processed differently:

-   **Spintax** `{option1|option2}` - one random option is chosen per email.
    
-   **Variables** `{{first_name}}` - replaced with the lead's actual data.
    

Combine them freely:

```
{Hi|Hello} {{first_name}}, {I noticed|I saw} {{company_name}} {recently expanded|just raised a round}.
```

Variables inside spintax are valid too: `{I noticed {{company_name}} is growing|I saw your work at {{company_name}}}`.

* * *

## Generating spintax with AI

Two AI features live in the editor, and only one of them produces spintax. Both are documented in [The Sequence Editor → AI assistance](./06-sequence-builder-overview.md#ai-assistance):

-   **Compose with AI** (button under the body composer) - generates a spintaxed template for the **current step only**. Three short questions about your offer, customer, and pain point, then it writes the email with spintax built in.
    
-   **AI Mode** (toggle at the top right of the Sequence Editor) - doesn't produce spintax. Instead it writes a separate email for each lead at send time, from your brief and the lead's data. Spintax still matters there in the **fallback template** that goes out when AI personalization can't run. See [AI Mode](../06-campaigns-ai-features/02-ai-mode.md).
    

You can edit the Compose with AI result by hand afterwards - tighten the alternatives, rewrite a sentence, add more spin groups - just like any spintax block you'd write yourself.

* * *

## How many variations should you aim for?

Each spintax group multiplies with the others:

-   `{3 options}` × `{2 options}` × `{4 options}` = **24 unique versions**
    

**Guidelines:**

-   **Minimum:** 10+ unique variations.
    
-   **Good:** 20-50 variations.
    
-   **Excellent:** 50+ variations.
    

3-5 spintax groups per email is a solid target. Each group with 3-4 options gives you plenty of variation without making the email hard to read or edit.

* * *

## Word count with spintax

Different spintax options can have different word counts, so the editor reports a word-count range (min-max) instead of a single number. Use it to confirm every version of your email stays within a sensible length.

For example, if your email shows _Spintaxed: 68 - 94 words_, every variation falls inside the 50-125 word sweet spot for cold email.

* * *

## Tips

-   **Use spintax in every cold email.** This is the single most impactful thing you can do for deliverability after DNS setup.
    
-   **Compose with AI template generation feature.** It already generates helpful spintaxed copy that you can adjust further.
    
-   **Keep all options natural.** Each variation should read fluently. Use the **Preview** button on the editor to render a few different leads and skim the result.
    
-   **Don't sacrifice readability for variation.** A well-written email with 15 variations beats a confusing email with 200.
    
-   **Vary whole phrases, not just single words.** Swapping individual words helps a little; swapping whole sentences makes each version look distinctly different to Gmail and Outlook.
    
-   **Check in preview.** Missing closing braces or empty options would be visible in a preview window.
    

* * *

## Next Steps

-   [Personalize with variables](https://docs.mailbeast.ai/en/articles/48.md)
    
-   [Set up A/B testing for bigger variations](https://docs.mailbeast.ai/en/articles/50.md)
    
-   [Send test emails to verify everything](https://docs.mailbeast.ai/en/articles/52.md)
