send_email
Send emails from a Gmail account—new messages, replies, forwards, or saved drafts—immediately upon invocation. For approval workflows, create a draft first and send it after review.
Instructions
Send mail from a Gmail account: a new message, a reply, a reply-all, or a forward. It sends immediately, so call it only for a message the user asked for, with the complete final text. email is the account the message is sent FROM. To prepare mail for the user to review first, use manage_email createDraft, then sendDraft here once they approve it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email(s), comma-separated. On `replyAll` these are ADDITIONAL — they do not replace the recipients already on the thread. | |
| to | No | Recipient email(s), comma-separated | |
| bcc | No | BCC email(s), comma-separated | |
| body | No | Email body text. On `forward`, an optional note prepended ABOVE the forwarded message. | |
| from | No | Sender email or RFC 2822 mailbox for a verified Gmail Send As alias | |
| html | No | Treat body as HTML content (default: plain text) | |
| Yes | Account email address this acts as. Required: there is no default account here. | ||
| draftId | No | Draft id (the r… id from listDrafts or createDraft), not a message id | |
| subject | No | Email subject line | |
| messageId | No | Email message ID | |
| operation | Yes | send: compose and send a new email (attachments up to 25 MB via the upload endpoint) | reply: reply to a message (thread-aware) | replyAll: reply-all to a message (thread-aware, includes all recipients) | forward: forward a message to new recipients (includes original attachments by default) | sendDraft: send a saved draft exactly as it is, by its draft id (the r… id from manage_email listDrafts or createDraft). Use this after the user has reviewed a draft, so what goes out is what they read. | |
| attachments | No | Workspace filenames to attach, comma-separated (files must exist in workspace via manage_workspace). |