Email Templates
In the Email Templates section, you can find and manage the texts of all available emails, which are grouped based on the following categories:
- Billing
- Authentication
- Provisioning
- Statistics
Tip: After selecting a particular email template, you can preview it within the right-hand section.
If providing multiple translations, the custom notifications will not be available on production by default (will have a red mark in the preview), and the default language template will be sent instead. To make such emails available, edit them and save changes.
Editing Email Templates
Double-click on the required email (if needed, use the Search field to locate template in the list) or select it and click the Edit button above.
In the opened Editor you can customize the email template according to your requirements and preview it immediately.
1. If you provide support of additional languages (except the default English one), you should choose the required Language using the drop-down menu at the top. The email template for each of the available languages should be edited separately.
2. You can edit the content directly in the middle part of the opened window or update its HTML source using the appropriate button.
3. Tick the Use Custom checkbox, if you don’t want to apply the master template (i.e., allows redefining it for this particular email).
4. Placeholders are a special type of variables, which are adjusted based on the particular email. For example, you can not provide user email within notifications explicitly (as it will be sent to all your customers and not just one), so you should add the ${USER_NAME} placeholder instead, which will be converted into the appropriate account email automatically.
The list of available Placeholders for the email notification is displayed in the same-named section to the left (hover over each particular item to view a short description). There are two kinds of placeholders:
- Required - these are recommended by the platform for the current email
- Common - other placeholders, which may be useful within the template
To add or change any placeholder, click the button in the editor tools menu at the top. Choose the needed placeholder using the list in the opened window and Submit your choice.
Most of the placeholders are defined in the System Settings > jclient section, which allows adjusting their values for all of the email templates at once.
5. To insert a link, select some text or placeholder and click the button.
In the opened window, select the necessary link placeholder within the Link List field or paste the needed link to the Link URL field and click Insert.
6. Once all of the edits are done, Save the changes you’ve made.
If you want to revert any custom changes applied to the email template, you can Rollback to the default version.
Do not forget to publish emails, making changes available in production.