Skip to main content
Variables let you personalize customer emails with information such as a customer’s name, points balance, reward code, or referral link. When a customer email is sent, each variable is automatically replaced with the customer’s information. You can use variables in the Subject, Title, and Description fields of your customer email templates. Only the available fields can be edited; the rest of the email content cannot be customized. Points expiry warning and Points expiry last chance emails include editable Subject and Title fields. Reward expiry reminder emails include editable Subject, Title, and Button fields. The preheader (preview) text shown after the subject line by some email clients is generated from the Description and cannot be edited directly in Smile. If the Description is blank, the preheader will also be blank.
Note: Variables appear as placeholder text in the email editor and in test emails. When a live customer email is sent, each placeholder is replaced with the customer’s actual information.

Insert a variable

To insert a variable:
  1. In Smile Admin, navigate to Settings > Customer Emails.
  2. Open the customer email you want to edit.
  3. Enter the variable using double curly braces ({{ }}).
    Example: {{customer.first_name}}
Note: Reward emails include the reward code, usage instructions, and terms and conditions without needing to add variables. These sections cannot be removed and are based on the reward type and any configured restrictions.
Tip: Copy and paste variables from the tables below to avoid typing errors. In the preview, the variable will appear as the placeholder text listed in the table.

For example, {{customer.first_name}} appears as (customer first name). If the placeholder text appears, the variable has been added correctly.

Points earned

This email is sent when customers earn points through most earning activities. Sign up and social follow activities don’t send customer emails.

Reward redeemed

This email is sent when a customer redeems points for a reward.

Birthday reward

This email is sent when birthday points are issued to a customer.

Points expiry warning and last chance

These emails are sent before a customer’s points expire.

Reward expiry

This email is sent before a reward expires.

Referral shared through Smile

This email is sent when a customer shares their referral link with a friend, through the email share option.

Friend received referral

This email is sent to a referred friend (after they input their email address on your website) when they receive a referral reward from one of your customers.

Referral completed

This email is sent to the advocate after a referred friend completes a qualifying purchase.

VIP tier achieved

This email is sent when a customer enters a new VIP tier.
Tip: For examples of each customer email and when it’s sent, see Understand customer emails.