> ## Documentation Index
> Fetch the complete documentation index at: https://codebeans-wishlyst.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Email templates

> Edit the subject and HTML of every email the app sends, in every language.

**Where:** **Wishlist Settings → Email Templates**

## Templates

> [tab] General
>
> | Template | Sent when | Default subject |
> | - | - | - |
> | **Share Wishlist** | A shopper shares a wishlist by email | `Check out {{senderName}}'s wishlist: {{wishlistName}}` |

> [tab] Campaign & alerts
>
> | Template | Sent by | Default subject |
> | - | - | - |
> | **Campaign — First Reminder** | [Campaign](https://codebeans-wishlyst.mintlify.site/guides/emails/chase-emails.md), step 1 | `Your wishlist at {{shopName}}` |
> | **Campaign — Re-engagement** | Campaign, step 2 | `Your saved items are waiting` |
> | **Campaign — Helpful Reminder** | Campaign, step 3 | `A quick look at your wishlist` |
> | **Campaign — Final Reminder** | Campaign, step 4 | `Last reminder about your wishlist` |
> | **Low Stock Alert** | [Low stock alert](https://codebeans-wishlyst.mintlify.site/guides/emails/stock-and-price-alerts.md) | `Hurry! Items in your wishlist are running low` |
> | **Price Drop Alert** | [Price drop alert](https://codebeans-wishlyst.mintlify.site/guides/emails/stock-and-price-alerts.md) | `Your favourite product {{variantTitle}} is on sale!` |
>
> These cards are hidden while **Enable chase emails** is off.

## Edit a template

1. Click a template.
2. Pick a **Language**. Each of your store's languages has its own copy.
3. Edit the **Subject** and the **HTML** body.
4. Click a variable in the **Liquid Variables** sidebar to insert it at the cursor.
5. Click **Preview**, then **Save Template**.

**Reset to default template** restores the original for the selected language.

## Variables

| Variable | Available in |
| - | - |
| `{{shopName}}`, `{{shopUrl}}` | All |
| `{{customerName}}`, `{{customerEmail}}` | Campaign, alerts |
| `{{items}}` | Campaign, low stock: product cards, already formatted |
| `{{wishlistPageURL}}` | Campaign, alerts |
| `{{unsubscribeUrl}}` | Campaign, alerts |
| `{{stockCount}}` | Low stock |
| `{{variantTitle}}`, `{{variantPrice}}`, `{{compareAtPrice}}`, `{{variantUrl}}`, `{{variantImageUrl}}` | Price drop |
| `{{senderName}}`, `{{wishlistName}}`, `{{shareUrl}}` | Share Wishlist |

Templates also support loops such as `{{#each items}} … {{/each}}`. All values are HTML-escaped.

> [!WARNING]
>
> Keep `{{unsubscribeUrl}}` in every campaign and alert template. Promotional emails without an unsubscribe link break anti-spam laws in many countries and hurt your email deliverability.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.