create_template
Create reusable email templates with personalized {{variable}} placeholders, previewable before sending for transactional, marketing, or automation use.
Instructions
Create a reusable email template. Use {{variable}} placeholders for personalisation — they are substituted at send time and previewable via render_template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML body (supports {{variables}}) | |
| name | Yes | Template name | |
| text | No | Plain text fallback body | |
| type | No | Template type (default: marketing) | |
| subject | Yes | Default subject line (supports {{variables}}) | |
| variables | No | Declared variable names used in the template |