How to edit an email and use variables
Use the email editor to change what each loyalty email says, turn it off, or insert details such as the customer's name and points. You need it when you want the emails to sound like your brand.
Go to Settings, choose Customer emails, then click a row. The page title is the email name. The form is on the left and a live preview is on the right (stacked on narrow screens).

Edit an email
-
Choose to send it or not
In Details, the switch Send this email is on by default. Turn it off to stop new sends of this email.
-
Write the text
In Text, fill in the fields.
Field What it does Limits Subject The subject line. Required. Variables allowed. 1 to 150 characters, one line Title The big heading in the email. Variables allowed. Leave it empty for no heading. 0 to 100 characters, one line Description The body text. Variables allowed. Line breaks are kept, and a blank line starts a new paragraph. 0 to 1000 characters Button text The button label. Leave it empty for no button. No variables. 0 to 40 characters, one line -
Set the reminder timing (expiry reminder only)
For the Points expiry reminder, choose Send the reminder: 30 days before expiry (default), 14 days before expiry or 7 days before expiry.

-
Save
Click Save. You see "Email saved". The change applies to emails sent from then on.
Email text is plain text. You can't add images, links or HTML. The button always opens your store's main page and you can't change its link.
Use variables
Write a variable exactly like {{points}}, with double curly braces and no spaces. Each email allows only its own variables.
| Variable | Shows | Available in |
|---|---|---|
{{first_name}} |
The customer's first name. If missing, it becomes "there". | All emails |
{{points}} |
Number of points, such as 1,240 | Points earned; Points expiry reminder (points about to expire) |
{{balance}} |
The new balance after this order | Points earned |
{{reward}} |
The reward, such as "$5", "10%", "free shipping", "500 points", or the reward title | Reward redeemed; Referral completed; Friend received referral |
{{reward_code}} |
The discount code | Reward redeemed; Referral completed; Friend received referral |
{{code_expiry_date}} |
The date the code stops working, such as "Dec 1, 2026", or "never" if it has no end date | Reward redeemed; Referral completed; Friend received referral |
{{referrer}} |
The first name of the customer who referred the friend ("A friend" if unknown) | Friend received referral |
{{expiry_date}} |
The date the points expire | Points expiry reminder |
[!INFO] If a reward comes as a discount code and your text doesn't include
{{reward_code}}, the email adds "Your code: ..." (and the expiry date, when there is one) automatically. A customer never receives a reward without its code. When a referral reward is points, there is no code, so{{reward_code}}is empty.
Default texts
| Subject | Title | Button | |
|---|---|---|---|
| Points earned | You earned {{points}} points | Points earned | See my points |
| Reward redeemed | Your reward code is ready | Reward redeemed | Shop now |
| Referral completed | Your friend ordered. You earned {{reward}} | Referral completed | See my rewards |
| Friend received referral | Here's your {{reward}} off from {{referrer}} | Friend received referral | Shop now |
| Points expiry reminder | {{points}} of your points expire on {{expiry_date}} | Points expiry reminder | Use my points |
For example, the default Points earned description reads: "Hi {{first_name}}, Thanks for your order. You earned {{points}} points. Your balance is now {{balance}} points."
Example: a friendlier expiry reminder
- Subject:
{{first_name}}, {{points}} points are about to expire - Description:
Your points expire on {{expiry_date}}.then a blank line, thenCome and treat yourself before then. - Send the reminder: 14 days before expiry
Fix validation errors
The same checks run as you type and again when you save.
| Message | Cause |
|---|---|
| Enter a subject. | The subject is empty. |
| Use N characters or fewer. | A field is over its limit (150, 100, 1000 or 40). |
| Use plain text, without < or >. | The text contains < or >. |
| Remove line breaks and hidden characters. | Subject, Title or Button text has a line break or invisible character. |
| Remove hidden characters. | Description has an invisible character. Normal line breaks are fine. |
| {{name}} can't be used here. | The email doesn't have that variable. |
| Variables cannot be used in the button text. | A variable is in Button text. |
| Use variables like {{points}} exactly, with no extra braces. | A stray or unbalanced {{, }}, ``. |

Related articles
- How to preview, test and reset an email
- Which emails Sol: Loyalty sends to customers
- General settings: email sender and code prefix
← Which emails Sol: Loyalty sends to customers How to preview, test and reset an email →