Get Email Details
mail_get_emailRetrieve a single email's full body text directly from disk without specifying a mailbox or account, and return its account and mailbox. Use it to read email content before replying or forwarding.
Instructions
Get a single email with full content including body text. Reads the email body directly from disk — no need to specify mailbox or account. Returns the account and mailbox the email belongs to. Use when: reading full email content, preparing to reply or forward
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": {
"messageId": "<messageId>"
},
"name": "mail_get_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | Email ID (from mail_get_emails or mail_search) | |
| response_format | No | Output format: 'json' for structured data, 'markdown' for human-readable text | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | Yes | ||
| id | Yes | ||
| to | Yes | ||
| read | Yes | ||
| sender | Yes | ||
| account | Yes | ||
| content | Yes | ||
| flagged | Yes | ||
| mailbox | Yes | ||
| preview | Yes | ||
| replyTo | Yes | ||
| subject | Yes | ||
| dateSent | Yes | ||
| messageId | Yes | ||
| attachments | Yes | Attachment metadata (filename, type, size). Content not included — metadata only. | |
| dateReceived | Yes |