Draft shared mailbox email
draft_shared_mailbox_emailSaves a Gmail draft in the firm's shared mailbox. Optional attachments (PDF/images), thread_id, or draft_id to add files. Does not send. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "draft_shared_mailbox_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email(s), comma-separated. | |
| to | No | Recipient email(s), comma-separated. Required unless draft_id is set. | |
| bcc | No | BCC email(s), comma-separated. | |
| body | No | Email body. Required unless draft_id is set. | |
| confirm | No | false or omitted returns a preview; true applies the change identified by preview_id. | |
| is_html | No | Body is HTML. Defaults to plain text. | |
| subject | No | Subject line. Required unless draft_id is set. | |
| draft_id | No | Existing Gmail draft id. When set, keeps that draft's headers, body and thread and appends attachments. | |
| thread_id | No | Gmail thread id from search_shared_mailbox or get_shared_mailbox_thread. | |
| message_id | No | Gmail message id from search_shared_mailbox or get_shared_mailbox_thread. | |
| preview_id | No | preview_id is the id returned by this tool's preview call. Required when confirm is true. | |
| attachments | No | Files to attach (max 10, 20 MB total). Each item is filename + mime_type + content_base64, or a public https url. PDF, PNG, JPEG, GIF, WebP. | |
| idempotency_key | No | Optional. A retry with the same key returns the first result without a second write. Defaults to preview_id. |