Email templates define the subject, body, and personalization variables for your outgoing emails. Create a template, submit it for review, and test it before sending to recipients.
Template status
The template management page in the Direct Mail console lists each template's name, status, creation time, and available actions.
A template has one of three statuses: draft, Approved, or Rejected. Templates in draft status must be submitted for review before use. The Direct Mail operations team reviews each submission and typically completes the review within 1 to 3 business days.

Create an email template
Log on to the Direct Mail console.
In the left navigation pane, click Template management.
In the upper-right corner of the template management page, click Create Template.
Fill in the required parameters, including the email subject, body content, and any variables or images. Click Save.
The template is saved as a draft. You can edit, submit for review, or delete it at any time.

Variables
Variables let you personalize each email with recipient-specific data. Use {VariableName} as a placeholder in the email body — the system replaces it with the corresponding value for each recipient at send time.
For example:
Hello, {UserName} {Gender}, your email address is {EmailAddr}, and your birthday is {Birthday}. Welcome to Direct Mail.
The system replaces {UserName}, {Gender}, {EmailAddr}, and {Birthday} with the values from each recipient's record.
Rules:
Format: Enclose the variable name in braces — for example,
{UserName}and{Birthday}.Naming: Use only uppercase and lowercase English letters — for example,
UserNameandBirthday.-
Data sources:
For testing, enter a value directly on the Send test email tab (for example, enter
Johnfor{UserName}).For production use, provide the corresponding column values when you create a recipient list. Upload an attachment or create entries in JSON format — for example,
{"UserName":"John Doe","Birthday":"1990/01/01","Gender":"Ms."}. Without matching column names, the system cannot replace variables correctly.
Limit: Up to 50 variables per template.
Images
You cannot insert local images directly into email templates. Use image URLs that start with HTTPS and allow hotlinking. Host your images on an external service such as an online photo album, then paste the URL into the template.


Unsubscribe link
To add an unsubscribe link, click the Hyperlink button and select Unsubscribe link.

Unsubscribe management
Manage unsubscribe records in the Direct Mail console under Statistics > Unsubscribe.
-
Click Submit for review. The review process takes 1 to 3 business days. If the template is rejected, edit it and resubmit.
NoteEach account supports up to 100 email templates.
The email body size limit is 1 MB.
The email subject length limit is 100 characters.
Editing an approved template or a template that has been used to send emails resets its status to draft. You must resubmit it for review.
Send a test email
Test the template before submitting it for review.
Open the saved template and go to the Send test email tab.
Select a sender address, enter values for each variable (for example, enter
John Doefor{UserName}), and enter a recipient address.Click Send.


The recipient receives the email with each variable replaced by the value you entered.

The system sends test emails from a random address. For production emails, using a random sender address is optional.