Write an email template
write_email_templateWrite a complete HTML marketing email (tables and inline styles, so it renders in Outlook and Gmail) from a brief and file it in Documents for preview. Grounded in the brand kit when one exists. The result can go into the customer's Gmail drafts with create_email_draft or be sent through an app action, both of which ask first. Spends one draft allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| tone | No | ||
| notes | No | ||
| offer | No | ||
| title | Yes | The template's name in Documents and the subject line. | |
| images | No | /m/... addresses from generate_image. | |
| cta_url | No | ||
| audience | No | ||
| cta_text | No | ||
| sections | No | ||
| preheader | No |