Compose Email
email_composeSend new emails, reply, or forward messages from your connected inbox, with the inbox signature added automatically. Supports attachments, CC/BCC, and HTML bodies.
Instructions
Send new mail, reply, or forward from one inbox. The inbox's signature is appended automatically, above the quoted text on replies and forwards; pass include_signature: false to suppress it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Cc addresses. | |
| to | No | Recipient addresses. | |
| bcc | No | Bcc addresses; not visible to the other recipients. | |
| body | No | Plain-text body. Sent as multipart/alternative when html_body is given too. | |
| from | No | Gmail Send As address. Must be a verified identity from inbox_list; anything else is rejected. | |
| inbox | No | Inbox email address; an alternative to inbox_id, which wins when both are given. | |
| action | Yes | Operation to run. send = new message from to/subject/body, optionally cc/bcc/html_body/attachments; reply = answer a message_id, optionally reply_all; forward = pass a message_id on to new recipients. | |
| subject | No | Subject line, sent as-is with no prefix added. | |
| inbox_id | No | Inbox UUID. Optional when the key has exactly one inbox. Otherwise pass this or `inbox`; omit both and the error lists every inbox_id. | |
| reply_to | No | Reply-To address, so replies go here instead of to the sender. | |
| html_body | No | HTML body. Not sanitized before sending, so it is on you to keep it safe and well-formed. | |
| reply_all | No | Reply to the original To and Cc as well as the sender. Still capped at 50 recipients. | |
| message_id | No | Message id being replied to; threading headers derive from it. | |
| attachments | No | File attachments, 10 MB total. | |
| idempotency_key | No | Opaque key for one operation, outbound or mailbox mutation. Reuse it only when retrying the identical request within 24 hours: the retry is collapsed, not repeated, which matters most for copy. Reuse with different arguments is rejected; omit it for normal behaviour. | |
| include_signature | No | Append the inbox's configured signature. Set false for a terse reply or your own sign-off. | |
| include_attachments | No | Re-attach the original's attachments. Anything past the 10 MB budget is dropped silently. |