Creating an email template

Email notifications are sent to customers and managers via the email service. A created notification template is automatically created for all downstream resellers (see Delegating UI templates, notification templates, event handlers, and notification categories). Before creating a notification template, create a notification category (see Managing notification categories).

To create an email notification template:

  1. Go to Notification Templates. The list of notification templates (see Viewing the list of notification templates).
  2. Click Create. The New Notification Template page is displayed.
  3. Enter information in the following groups:
  4. Click Create. The email notification template will be created for the current reseller and all its downstream resellers.

Template information

In the Template information group:

  1. In the Type list, select Email.
  2. In the Name field, enter the name of the template.
  3. In the Category list, select a notification category for notifications based on this template.
  4. If it is necessary to create an email notification template based on an existing one, in the Copy template from list, select the required email notification template. You can search a notification template in the list by part of its ID or name. As a result, the template body (see below) is prefilled from the selected template.

    When editing an email notification template, the copying option is not available, but you can use the preview mode of an HTML-formatted template (see Viewing and updating notification template's details).

Additional settings

In the Additional settings group:

  1. In the From field, enter the email address from which the notifications will be sent to customers.
  2. In the To field, enter a placeholder (see below) or the recipient email address.
  3. Optionally, in the Cc and Bcc fields, enter a placeholder (see below) or the recipient email address of the notification email copy and hidden copy (optional).

    In the From, To, Cc, and Bcc fields, you can use various placeholders for email addresses (see Placeholders used in notification templates for specific event handlers). For example:

    • {{owner.email}} — the email of the Owner of an account.
    • {{user.email}} — the email of a user connected to an account.
    • {{account.bill_user_email}} — the email of an account user responsible for financial issues.
    • {{account.tech_user_email}} — the email of an account user responsible for technical issues.
    • {{user_invite.email}} — the email of a user invited to join an account.
    • {{account.manager.email}} — the email of the manager of an account (see Creating an account).
  4. In the Subject field, enter the message subject. You can use placeholders (see Placeholders used in notification templates for specific event handlers).

Template body

In the Template body group, enter the text of a notification using HTML and placeholders (see Placeholders used in notification templates for specific event handlers).

<html>
  <head>
    <title>Subscription stopped</title>
  </head>
  <body> This notification is being sent to notify you that your subscription "{{subscription.id}} — {{subscription.name}}" has been stopped. </body>
</html>