About
Email templates control the text of the emails your site sends to users, such as registration confirmations, calendar invites, and password resets. Use the EmailTemplates module to set up these templates, and then use them in these modules:
To choose the email service that sends these emails, use the EmailService module.
Tokens
Use tokens in email templates to automatically fill in user, site, and session details.
User tokens
{FIRSTNAME}{LASTNAME}{TITLE}{COMPANY}{COUNTRY}{EMAIL}
Site tokens
{URL}- links to the service that triggered the email, such as registration confirmation, login, or forgot password.
Session tokens
These tokens are for iCalendar and RSVP emails.
{SESSIONNAME}- session title{SESSIONSTARTDATE}- session start date and time (the format matches session cards){SESSIONDESCRIPTION}- session description{SESSIONURL}- session link{SESSIONMAGICLINK}- authenticated link to the session (available if email login is enabled)
Authentication tokens
These tokens are available if the EmailLogin module is enabled.
{MAGICLINK}- authentication link to the site. To link to a specific page, add&ref=[relative path].{TINYMAGICLINK}- a shortened version of{MAGICLINK}. Use it in plain-text content, such as the bodyAsText field in calendar invites.{SESSIONMAGICLINK}- authentication link that redirects directly to the session page.{TINYSESSIONMAGICLINK}- a shortened version of{SESSIONMAGICLINK}. Use it in plain-text content, such as the bodyAsText field in calendar invites.
In-person tokens
These tokens are available if the InPerson module is enabled.
{QRCODE}- used for in-person attendance verification.
Configure
1. Go to your Configuration Management console, locate the EmailTemplates module in the left panel, then select it. You can also navigate directly using a link: https://{your_site_url}/admin/config/tab/emailtemplates
The EmailTemplates page displays.

2. Configure the following:
HTMLbodyAsText - Select Keep to keep HTML tags in the bodyAsText field. Select Hide to remove the HTML tags and replace them with plain text in calendar invites. This setting applies to all email templates.
+Add "template" - Select to add a template for each locale. Each section you add holds the localized versions of one email template.

An additional section displays. Configure the following:
templateName - Enter a name that identifies the template, for example, Confirm registration and set password.
localizedTemplate - Select to add a template for a specific locale. When no locale matches, the English (En) template is used. More fields display:
languageCode - Select the language of the email from the drop-down menu. The default is English (En), which is used when no other selection fits.
subject - Enter the email subject line, for example, "Confirm registration and set password".
body - Enter the email body in HTML. This field supports custom tokens from the language module, and these local tokens: {FIRSTNAME} {LASTNAME} {TITLE} {COMPANY} {COUNTRY} {EMAIL} {URL} {QRCODE}
You can use an HTML editor of your choice, such as Create a New Pen or W3Schools online HTML editor.
For authentication links, use {TINYMAGICLINK} or {TINYSESSIONMAGICLINK}. Shorter links display better in plain-text formats like calendar invites.
Use plain text only in the bodyAsText field. Some calendar apps don't support HTML and show raw code to users.

To support this type of invitation, you also configure the siteRegistration module.
iCalTitle - Enter the title that appears on the calendar. The calendar app shows this text, but the email doesn't. Enter plain text only, with no HTML. For example, "Make sure to join the event!"
iCalLocation - Enter the text that appears in the location field of the calendar event. Enter plain text only, with no HTML. Only the {SESSIONURL} and {TINYSESSIONMAGICLINK} tokens are supported. Keep the text short, because some calendar providers may limit this field to about 250 characters.
- To enable the Send by email calendar option for users, configure the iCalendar module and select the relevant email template.
- To customize the calendar download, see the iCalendar module.
3. Select Save.
HTML examples for the email body
Confirm registration and set password
Hi {FIRSTNAME} {LASTNAME} <br><br>
Select the <a href={URL}> following link</a> to confirm your account registration and to set your password. <br>
{URL}<br><br>
Thank you!
Registration complete
Hi {FIRSTNAME} {LASTNAME} <br><br>
Thank you for registering for the session. <br>
Please log into the <a href="{URL}"> session</a> <br><br>
Thanks!
Reset your password
Please <a href="{URL}"> select this link </a> to reset your password <br><br>
Please note: This link will expire after 30 minutes. <br><br>
Reset password confirmation
Hi {FIRSTNAME} {LASTNAME} <br><br>
Your password has been reset <br>
Please log in to <a href="{URL}"> the site </a><br>
Thanks!