e-trainiaDocs
Setup GuideGeneral Site Setting

How to Add Email Template

Site Settings · General Site Settings
Email Templates
Edit the emails that e-trainia sends automatically, such as when an account is created. You can change the content, layout, and look of each email, add tokens that fill in details automatically, preview on desktop and mobile, and turn templates on or off.
NavigationSite Settings→General Site Settings→Email Template

What are Email Templates?

Email Templates are ready-made email layouts that e-trainia uses to send automatic emails. You can change a template in the template builder, adjust the style of each part, and add tokens that fill in details automatically.

You can preview a template before you save your changes, and turn it on or off using the Status option. You cannot create new email templates from this page. The templates are ready-made and loaded during setup.


1. Open Email Templates

Follow these steps to open the Email Templates page.

Go to Site Settings.

Click General Site Settings.

Click Email Template.

The Email Templates page shows all templates in a table.


2. Available Actions

Use the actions in the table to view, edit, or preview a template.

Action
View
Shows the template details and its created and updated history.
Action
Edit
Opens the template builder so you can change the template.
Action
Preview
Shows how the template looks.

Note

Email templates are ready-made. You can edit them, but you cannot add new templates from this page.


3. Edit an Email Template

In the template builder, you change an email's content, layout, and look by dragging and dropping components.

Click the Edit icon on the template you want to change.

The email template builder opens.

Check the template name and subject, then change the email using the components.

Use the Editor, Desktop, and Mobile tabs to edit and preview.

Click Submit to save your changes.

Template Name and Subject

FieldDescription
Template NameShows the template name. It cannot be changed.
SubjectThe subject line of the email.

Important

The Template Name cannot be changed after creation.

Available Components

Use these components to build the email layout.

Header
Shows the company name and logo.
Text
Adds paragraphs, headings, and other text content.
Image
Adds images and graphics.
Button
Adds buttons, such as a link button.
Divider
Separates sections with a line.
Spacer
Adds vertical spacing between elements.
Footer
Shows contact details and social links.
Social Media
Adds social media elements and links.

To customize the layout:

Click the component you want in the components panel.

Drag the component to where you want it in the template editor.

Click the component to change its content, look, or other properties.

Repeat to add more components and finish the layout.

Tip

Use the right components to keep the email clear and easy to read. Preview the template on desktop and mobile before you save.

Editor and Preview Tabs

The template builder has three tabs for editing and previewing the email.

Editor Use the drag-and-drop builder to change the email content, arrange components, and edit their properties.

Reset and Save Changes

Click Reset if you want to discard your current edits in the builder.

Check the content and look of the template.

Click Submit to save the template.

Warning

Check your changes before you save. Click Reset only if you want to discard your current edits.


4. Configure Template Settings

The right-side panel has the Tokens and Inspector tabs. Use them to manage template settings, add tokens, and style the components.

Tokens Tab

The Tokens tab has the template settings, the ready-made tokens, and the default template content.

Template Type

The Template Type field shows whether the email is a frontend email or a backend email.

Template TypeDescription
FrontendUsed for emails sent after an action on the frontend.
BackendUsed for emails sent after an action in the backend.

For example, if an account is created on the frontend, the frontend email template is used. If an account is created in the backend, the backend email template is used.

Note

Choose the Template Type that matches where the email is used.

Department

The Department field shows which department the template belongs to.

Important

The Department cannot be changed after the template is created.

Module

The Module field shows which module the template belongs to.

Important

The Module cannot be changed after the template is created.

Tokens

Tokens are ready-made placeholders. When the email is sent, each token is replaced with the real detail.

To insert a token:

  1. Open the Tokens tab.
  2. Find the token you need in the list.
  3. Copy the token and paste it where you want it in the email editor.
  4. Save the template.

Example: Insert {{employee_name}} after the greeting Dear. When the email is sent, the token is replaced with the employee's name.

Note

Use the ready-made tokens in the builder to fill in details automatically.

Default Template Content

The Default Template Content section has the original email content. Use it as a reference when you change the template.

To restore the default content:

  1. Open the Default Template Content section.
  2. Copy the default template content.
  3. Paste it into the email template editor.
  4. Check the restored content, then save the template.

Important

Saving your changes replaces the earlier content of the template. Keep a copy of the default content in case you want to restore it later.


5. Activate or Deactivate Email Templates

Use the Status option to turn an email template on (Active) or off (Inactive).

Set the status to Active so the template is used to send its email.

Set the status to Inactive so the template is not used to send its email.

You can change the status at any time.

Warning

If an email template is Inactive, its email is not sent to the recipient.


Important Notes

  • Email templates are ready-made and loaded during setup. You cannot add new templates from this page.
  • Use View to see template details and created and updated history.
  • Use Edit to change a template and Preview to see how it looks.
  • Template Name, Department, and Module cannot be changed after the template is created.
  • Choose the correct Template Type: frontend or backend.
  • Use the ready-made tokens to fill in details automatically.
  • Keep a copy of the default content in case you want to restore it.
  • Check the template in both desktop and mobile views before you save.
  • An Inactive email template is not used to send its email.
  • If the page shows a Search field or a status Filter, use them to find templates.

FAQ

Last updated on