Read a message
mailbox_get_messageRead a single email by UID to retrieve headers, plain-text body, attachments, and unsubscribe options without marking it read by default.
Instructions
Read one message: headers, plain-text body (HTML converted), attachment list, and unsubscribe options. Does not mark it read unless mark_read is true.
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": {
"uid": "<uid>"
},
"name": "mailbox_get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Message UID from mailbox_search_messages (UIDs are per folder) | |
| folder | No | Folder path, e.g. "INBOX", "Archive", "INBOX/newsletters". Names like archive, trash, junk, sent, drafts also work. | INBOX |
| mark_read | No | ||
| include_html | No | Also return the raw HTML body | |
| shorten_links | No | Replace very long (tracking) links with <link: host> | |
| max_body_chars | No | ||
| include_headers | No | Also return every header | |
| response_format | No | 'markdown' for readable text (default), 'json' for complete structured data | markdown |