# Personalize an email
Insert variables such as the person's first name or your store link, and see which ones fill in for broadcasts and for automations.
A variable is a short code, such as `{{first_name}}`, that Crate replaces with each person's own details when the email is sent. Use variables to greet people by name or link to your store.
## Step 1: Insert a variable
- **In the broadcast editor:** click **Insert variable** and choose one. It goes where your cursor is, in the subject, preview text or message.
- **In the email designer:** open **Variables** in the left panel and click one, or use the variable button next to a text field.
```screenshot email-marketing/personalize-emails-with-variables/01-insert-variable
alt: The Insert variable menu open in the broadcast editor, listing First name, Last name, Email address, Store name and more
caption: Pick a variable and it is inserted at your cursor.
1: 1440=45,40 Insert variable
```
## Step 2: Check the result in a preview
Variables show as codes while you edit. Send yourself a preview to see them filled in. See [Preview and send a test](/docs/email-marketing/preview-and-test-an-email).
## Which variables work everywhere
| Variable | What it shows |
| --- | --- |
| **First name** `{{first_name}}` | The person's first name. If it is missing, Crate uses the word "there" instead. |
| **Last name** `{{last_name}}` | The person's last name, or nothing if it is missing. |
| **Email address** `{{email}}` | The address the email is sent to. |
| **Store name** `{{store_name}}` | Your store's name. |
| **Store link** `{{store_url}}` | A link to your storefront. |
| **Business address** `{{store_address}}` | The **Business address** from **Settings → Store**. Marketing emails need it in the footer. |
| **Support email** `{{support_email}}` | The **Customer-facing email** from **Settings → Store**, or your sending address if that is empty. |
| **Unsubscribe link** `{{unsubscribe_url}}` | A link that opts this person out. Don't edit the link itself. |
| **Current year** `{{year}}` | This year, for a copyright line. |
| **Download link** `{{download_url}}` | In an email about a product, the person's own download page. Anywhere else, their list of downloads. |
## Which variables work in automations
Some variables only fill in when an automation or sequence starts from a matching trigger. The editor only offers them where they work.
| Variable | Fills in after |
| --- | --- |
| **Link back to their cart**, **Their cart total**, **Items in their cart** | A **Cart abandoned** or **Checkout abandoned** trigger. |
| **Product name** | A purchase trigger, such as **First order placed** or **Product purchased**. |
| **Course name**, **Link to the course** | A course trigger, such as **Course enrollment**. |
| **Lesson name** | **Lesson completed**. |
> [!WARNING]
> Type variables exactly, or insert them from the menu. Crate won't send an email with a variable it doesn't know. The **Send** button shows "Unknown variable:" followed by the code to fix.
## Related tasks
- Add a personal discount code with the **Coupon** block in the designer. See [Design an email](/docs/email-marketing/design-an-email).
- Choose triggers for automations in [Automation triggers and conditions](/docs/email-marketing/triggers-delays-and-conditions).
