Compose template
compose_templateCreate an email draft from a natural-language brief and persist it as a draft. Use this when you have a brief description of the email's intent.
Instructions
Compose a new email from a natural-language brief, persist it as a draft, and return id/key/subject/body. Charges compose-template credits. Hero image generation is OFF by default (set includeHeroImage:true to opt in — placeholder only). Requires templates:write. Prefer this over create_template when the operator gave a brief.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| mode | No | ||
| name | No | ||
| model | No | ||
| prompt | Yes | The brief — what the email should say / do. | |
| themeId | No | ||
| category | No | ||
| starterShellId | No | ||
| includeHeroImage | No |