imap_get_message_raw
Fetch a raw RFC822 email message by stable message ID, capped at a configurable byte limit to inspect original source without oversized responses.
Instructions
Get bounded RFC822 source
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": {
"message_id": "<message_id>"
},
"name": "imap_get_message_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | No | Maximum message bytes to return (1024..1000000, default 200000) | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
| message_id | Yes | Stable message identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |