gws.mail.create_draft
Create an email draft with plain text or HTML body, setting recipients, subject, and reply thread. Supports CC/BCC and multiple accounts.
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) |