create_template
Create reusable email templates with variable placeholders. Fails if a template with the same name exists; delete it first to replace.
Instructions
Save a reusable email template. Subject and body may contain {{variable}} placeholders (e.g. {{firstName}}), auto-detected and stored on the template. Fails if a template with the same name already exists — delete it first to replace it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Body text, may contain {{variable}} placeholders. | |
| name | Yes | Unique template name. | |
| isHtml | No | Whether body is HTML. | |
| subject | Yes | Subject line, may contain {{variable}} placeholders. |