--- title: Construct an email message with a template description: Email templates provide a list of the fields from database tables that are available for constructing an email message. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/r\_ConstructAnEmailMessage.html release: australia topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Email templates, Email and SMS notifications, System notifications, Notifications, Configure core features, Administer the ServiceNow AI Platform] --- # Construct an email message with a template Email templates provide a list of the fields from database tables that are available for constructing an email message. An email template can include a **mailto** automatic response link, which enables the email recipient to simply choose a link that sends a preformatted response back to the instance. An example is the email template used for notification that an approval is required. The following example shows the base email: \[Omitted image "approval-request-notification.png"\] Alt text: Screenshot of the Approval Request Notification form showing configuration fields, along with email template selected under the What it will contain tab In this case, when a change request approval is requested, an update is made to the `sysapproval_approval` table. The "approval events" business rule is then executed, which creates the "approval.inserted" event. The "Approval Request" email event is defined to process the approval.inserted event, and this email event is defined to use the following change.itil.approve.role email template. Notice that this template has two mailto: items specified. One for "mailto.approval" and one for "mailto.rejection." This email template builds an automatic response that lets the email receiver simply click a link in the email to either approve or reject the change request. Here is what the **change.itil.approve.role** template looks like using the rich HTML editor: \[Omitted image "email-template-change-approval.png"\] Alt text: The change.itil.approve.role template specifies the HTML message content in the approval request email The selection list on the right shows the available fields from the `sysapproval_approver` table. Notice the **change.itil.approve.role** template also uses a predefined email layout \(Unsubscribe and Preferences\), which provides links for the recipient to unsubscribe from approval notifications and set notification preferences. And here is the **mailto.approval** template: \[Omitted image "email-template-mailto-approval.png"\] Alt text: The mailto.approval template defines the approval notification link **Note:** If you put text on the lines following the **Click here to approve $\{sysapproval\}** line, this text forms the actual body of the email. The combination of templates used would generate an email similar to the following example: \[Omitted image "TemplateGeneratedEmailExample.png"\] Alt text: The example generated email contains the content determined by the change.itil.approve.role template. Notice that the email recipient can use the following links in the mail: - A link to view all the details of the change request - A link to view the approval record - A link that generates an automatic email response to approve the change - A link that generates an automatic email response to reject the change - A link to unsubscribe from approval notifications and another link to set notification preferences - **[Add blank lines in an email template](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/r_AddBlankLinesInAnEmailTemplate.md)** You can easily add blank lines in an email template using HTML tags. **Parent Topic:**[Email templates](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/c_EmailTemplates.md) **Related topics** [Email layouts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/email-layouts.md)