gws.mail.create_draft
Create Gmail email drafts with HTML or plain text, set recipients, subject, and reply to existing threads.
Instructions
Create an email draft. Supports plain text and HTML bodies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients, comma-separated | |
| to | No | Recipient email(s), comma-separated | |
| bcc | No | BCC recipients, comma-separated | |
| body | Yes | Email body (plain text or HTML) | |
| account | No | Account label or email. Uses default if omitted. | |
| subject | No | Email subject | |
| threadId | No | Thread ID for reply drafts | |
| contentType | No | Body content type: 'text/plain' or 'text/html' (auto-detected if omitted) |