Templates and variables
Create and review email templates, then use variables, template IDs, and multilingual content correctly.
Templates let you reuse email HTML and replace variables in the subject and body at send time. Customers can create, edit, and submit templates in the console, then reference approved and enabled templates through the API.
Create a template in the console
- Open Email Templates and click New Template.
- Choose Marketing or Transactional. The category cannot change after creation. Use marketing for promotions and transactional for verification codes, orders, and service notices.
- Select the template language. Create a separate template for each required language;
template.languagein the API does not switch languages automatically. - Paste and preview content in the HTML editor. If AI Assistant is enabled for your account, you can generate or revise HTML with AI. Apply an AI proposal to the draft and save it before review; generation itself is not approval.
- Save the draft and click Submit for Review. The platform reviews the current version. Later edits create a new version that must be reviewed again.
A template is sendable only when its current version is approved and validation passed, the template is enabled, and the reviewed version matches the current version. Public templates can be viewed or copied into your own templates, but not edited directly.
Review statuses
| Status | Meaning |
|---|
Last updated on