create_template
Create reusable email templates with subject, HTML, text, and variables for personalized sends. Define variable definitions and optional alias for stable sending.
Instructions
Create a reusable email template (POST /templates). Supports subject/html/text with {{ variables }} and optional variable definitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | ||
| html | No | ||
| name | Yes | Template name. | |
| text | No | ||
| alias | No | Optional stable handle for sending by alias. | |
| subject | No | ||
| reply_to | No | ||
| variables | No | Variable definitions: each { key, type?, fallback_value? }. |