All Collections
Emails
Templates
Creating templates
How to add variables to email Templates
How to add variables to email Templates

Learn how to use template variables in Mixmax to automate your email writing process and personalize emails with smart and custom variables.

Updated over a week ago

Templates are available on all Mixmax plans, including the Free plan, but some options, like Shared Templates, are available only on the Mixmax Small Business plan and above. Check out our pricing page for more information.

Template variables take you one step closer to having your emails write themselves. There are two types of template variables: smart variables and custom variables.

Smart variables

Smart variables will automatically be filled in with information Mixmax can access - this includes any existing field on the Mixmax contact record. Variables based on information about the recipient will be auto-filled only if the recipient is added to the To: field before the template is added to the email.

Smart variables

Custom variables

Custom variables can be created as placeholders to use when you are composing an email. You can easily tab through custom variables to quickly fill them out.

Custom variables

To add a variable while creating a template, click Insert variable in the toolbar at the bottom of the template editor, or just start typing {{ . If you want to use a smart variable, select it from the list that automatically appears. If you want to create a custom variable, just continue to type the text of your custom variable. Typing a closing }} will close the variable editor.

Variable editor

Variables in links

Both smart and custom variables also work directly in links.

If you want to send a personalized link to your recipient, simply include the variable directly in the URL, such as mycompany.com/offer?user={{email}}. If your recipient's contact information includes a field with the variable name, it will resolve (fill automatically) from the recipient's contact information in Mixmax. Note that this will work for both naked links and regular links.

If Mixmax can't find a match for the variable within the recipient's contact information, you'll be able to resolve the variable manually as a custom variable.

Template variables are designed specifically for emails that are sent to a single recipient. If you are interested in using variables for emails you send to multiple recipients at once, then check out Sequences.

Did this answer your question?