send_message
Compose and send an email in one step, supporting plain text or HTML body, attachments, and reply-to threading.
Instructions
Compose AND send in one step (no draft review). Same payload as create_draft. Returns {message_id, thread_id, label_ids}. Requires gmail.compose scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | A connected account ref (see list_accounts). | |
| to | No | ||
| cc | No | ||
| bcc | No | ||
| subject | No | ||
| body | No | Plain-text body. | |
| html_body | No | HTML body. With body, sent as multipart/alternative. | |
| reply_to_message_id | No | Message id to reply to (sets threading headers). | |
| from | No | Optional From override (must be a verified send-as alias). | |
| attachments | No |