List of variables
To make your automatic mails more personal and engaging, make sure to personalise them using variables. All variables are listed on the right-side of the screen when editing your mail.
Note: The variables that are available to you in the list of variables depends on the specific mail that you are editing.
To add variables to your mail, follow these steps:
- Go to the list of variables and click on the variable you wish to use in your mail.
- The code of this variable code is now copied to your clipboard.
- Copy-paste the variable into your email body or subject.
- Save the content of this mail

Special Variables
Control Blocks
Control blocks allow you to customize the content of an email based on the value of a variable. This feature lets you tailor the message according to specific conditions, such as the presence or absence of a transaction, or when a new SEPA domiciliation occurs, allowing you to thank contributors appropriately.
A conditional control block begins with an “if statement”:
- {% if transaction.amount %}
- {% if subscription.is_sepa %}
If you want to display specific content when the opposite condition is true—for example, if there is no transaction amount or if there is no domiciliation via SEPA—you should use the “else statement” to specify that content.
- {% else %}
The conditional block is closed with an “end statement”:
- {% endif %}
Example:
{% if transaction.amount %}
Here is a small summary of the informations related to your donation.
Donation : {{ transaction.currency }} {{ transaction.amount }}
Contributor : {{ customer.firstname }} {{ customer.lastname }}
Date : {{ transaction.created_at }}
{% endif %}
Filters
Filters are commands that you can apply to a variable to alter how it’s presented to the user. For instance, you might want to always display the recipient’s last name in uppercase letters:
- {{ customer.lastname | upcase }}
Alternatively, you can render the last name in lowercase or capitalize it:
- {{ customer.lastname | downcase }}
- {{ customer.lastname | capitalize }}