Email Templates

Email Template

A template is a ready-to-use message format that contains business information. You can use Email templates to simplify and speed up the operations for sending your communication through Email recalling the template Id while using Email API.

For example, a bank wants to send an Email notification to a customer when the amount is deducted from the customer's account. Now, when a customer withdraws funds, an Email notification is sent to the customer as an alert of this transaction. This type of transaction is common to most customers. Therefore, it makes sense for banks to create templates with standard content and parameter placeholders and replace them with relevant information.

Sample Email Template

Templates are typically used to simplify and speed up the sending of recurrent communications with specific personalization, like OTP messages where a common text is personalized with the OTP Code, or purchase confirmation where a default text is personalized with, for example, the order ID or other specific information.

In case your template contains a variable part to be used for personalization, then for each recipient you must pass the actual value to be used instead of the variables to personalize the message text.

You can see the following example of an Email template having some variables that can be used to personalize each single Email while maintaining the rest of the content.

Dear Customer, an amount of @amount_value is debited from Account No. @account_number at @date_time. If you did not make this transaction, call us at @phone_number.

In the above example, every string denoted by the @ defines a dynamic variable.

In the Sample Email Template, you need to replace the following parameters with relevant information:

  • Amount Withdrawn
  • Account Number
  • Time of Transaction
  • Bank's contact number

The Templates Overview chapter contains the following topics:


Did this page help you?



© 2026 Kaleyra Inc. All rights reserved.
Trademarks, logos and service marks displayed on this site are registered and unregistered trademarks of Kaleyra Inc.