Send an email
email_sendSend an email immediately from one of the user's accounts (that account is the From address). Sent email can't be recalled. For an email the user wants to review before it goes, add_draft saves it to Drafts instead. Pass in_reply_to to thread a reply under the email it answers, and attachment_ids to attach files: from stage_attachment_from_email for a file already in an email, or prepare_attachment_upload for one on disk. The result lists every file that went, and says where the copy in Sent is: the account's server keeps one or Sickle stores one, so there is no need to save it anywhere yourself.
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": {
"email": "<email>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "email_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Carbon-copy recipients, in the same form as `to` | |
| to | Yes | Recipients, e.g. ["alice@example.com", "Bob Smith <bob@example.com>"] | |
| bcc | No | Blind-copy recipients, in the same form as `to` | |
| body | Yes | Plain-text body | |
| Yes | The account to write from, as listed by list_accounts. It is also the From address. | ||
| subject | Yes | Subject line. For a reply, the original subject prefixed with "Re: ". | |
| in_reply_to | No | The email this one replies to. Threads the new message under it in every mail client. The original's text is not added: `body` is the whole of what is sent. | |
| attachment_ids | No | Files to attach, each an attachment_id from stage_attachment_from_email (a file already in an email) or prepare_attachment_upload (a file uploaded). At most 10, together within 25 MB once encoded for email. Each can be used once: once the email is saved or sent, its files are deleted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | Yes | ||
| to | Yes | ||
| bcc | Yes | ||
| from | Yes | The account it was sent from. | |
| subject | Yes | ||
| sent_copy | Yes | What became of its copy in the account's Sent folder. | |
| message_id | Yes | The sent message's Message-ID header. | |
| attachments | Yes | The files attached to it, in order. |