Create Template
create-templateCreate a new email template; it publishes automatically when the alias is new, otherwise saves as a draft.
Instructions
Create a new email template. Templates are automatically published if the alias doesn't exist yet; otherwise they remain as drafts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | From email address in RFC format (e.g., Name <email@domain.com>). | |
| html | No | HTML content for the email template. | |
| name | Yes | Template name (max 191 characters). | |
| text | No | Plain text content for the email template. | |
| alias | Yes | Template alias for grouping versions. Lowercase letters, numbers, underscores, hyphens only. | |
| editor | No | Editor type (default: "html"). | |
| subject | No | Email subject line (max 191 characters). | |
| reply_to | No | Reply-to email address(es). |