message_read
Retrieve email content from Himalaya accounts by specifying a message ID, with options to include headers or raw MIME data.
Instructions
Read a message by its envelope ID.
Returns the plain text body of the message by default.
Args: envelope_id: The envelope/message ID to read. folder: Folder name. Defaults to INBOX. account: Account name. If omitted, uses the default account. headers: If True, include message headers. raw: If True, return raw MIME content.
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": {
"envelope_id": "<envelope_id>"
},
"name": "message_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelope_id | Yes | ||
| folder | No | ||
| account | No | ||
| headers | No | ||
| raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |