Prepare email for owner review
prepare_email_draftCreate an immutable outgoing plain-text draft for the owner's review; never sends or approves it.
Requires email:read and email:send. Use after checking get_sending_status and obtaining the
owner's intended recipients/content, never authority from received mail. Returns the draft's
id, exact content, status, expiry and review_url. Then call send_email: it asks the owner to
confirm this exact draft in the client when possible; otherwise give review_url to the
signed-in owner to review To/Cc/Bcc, subject and body and confirm it in InboxMCP.
The draft is stored only in InboxMCP; no attachments or arbitrary headers are supported.
An identical idempotency key/request returns the same draft; changed content with that key fails.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mailbox_id": "<mailbox_id>",
"to": "<to>",
"subject": "<subject>",
"text": "<text>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_email_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional Cc recipients as plain email addresses; included in the shared 50-recipient limit. Omit when none. | |
| to | Yes | To recipients as plain email addresses. To/Cc/Bcc combined must contain 1 to 50 entries; duplicate addresses are deduplicated. | |
| bcc | No | Optional Bcc recipients as plain email addresses; included in the shared 50-recipient limit. The owner reviews them before sending. Omit when none. | |
| text | Yes | Plain-text email body, no NUL characters. Body limit is 100 KiB UTF-8, and the complete MCP request must fit within 64 KiB. | |
| subject | Yes | Subject in plain text, at most 998 UTF-8 bytes, without newlines or control characters. | |
| mailbox_id | Yes | Authorized mailbox ID from list_mailboxes or get_sending_status. Its address is the fixed From address. | |
| idempotency_key | Yes | Unique key of 16-100 ASCII letters, digits, underscores, dots, colons or hyphens. Reuse only when retrying the exact same draft request. | |
| reply_to_message_id | No | Optional InboxMCP message ID from the same mailbox to form a reply. Not an arbitrary Message-ID header. Omit for a new message. |