Create ZeptoMail template
zeptomail_create_templateCreate a new email template under a specified ZeptoMail agent. Supply the agent key and expected agent name, then confirm to save the template with subject and HTML or text body.
Instructions
Create a template in one explicit Agent. Requires agentKey plus expectedAgentName from a fresh zeptomail_list_agents call, server writes enabled, and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| subject | Yes | ||
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| htmlBody | No | ||
| textBody | No | ||
| templateName | Yes | ||
| templateAlias | No | ||
| expectedAgentName | Yes |