# Email variables

The merge tags you can drop into any subject or body.

## What you see
The email editor lists the supported tags under the subject and body fields, and
the preview renders them with sample data. The full set:

| Tag | Resolves to |
|---|---|
| `{{shop.name}}` | The customer's name |
| `{{shop.domain}}` | Their domain |
| `{{app.name}}` | The product the email is about |
| `{{first_name}}` | The recipient's first name |
| `{{app_url}}` | A link back into your product |
| `{{logo_url}}` | Your workspace logo |
| `{{company_address}}` | Your postal address, for the CAN-SPAM footer |
| `{{unsubscribe_url}}` | One-click unsubscribe |
| `{{preferences_url}}` | The recipient's email preferences |

Tags work in **campaigns**, **templates** and the `send_email` **flow action** —
the same renderer serves all three, so a template behaves identically wherever it
is sent from.

## Use it
- An unknown tag renders empty rather than as literal `{{…}}`, so a typo is
  silent — always send yourself a test before a campaign goes out.
- `{{unsubscribe_url}}` and `{{company_address}}` are added to the footer
  automatically; include them in the body only if you want them twice.

## Why it matters
Personalization works when you know exactly what data you can reference — and
when the same tag means the same thing everywhere.

## Related
- [Templates](templates.md) · [Campaigns](campaigns.md)
