get_email
Read safe headers and plain text for one email using account, mailbox, UID validity, and UID. Enables read-only message inspection via IMAP.
Instructions
Read safe headers/plain text using one complete returned identity.
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": {
"account_id": "<account_id>",
"mailbox": "<mailbox>",
"uid_validity": "<uid_validity>",
"uid": "<uid>"
},
"name": "get_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| mailbox | Yes | ||
| account_id | Yes | ||
| uid_validity | Yes | ||
| max_text_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| flags | Yes | ||
| headers | Yes | ||
| identity | Yes | ||
| attachments | Yes | ||
| text_truncated | Yes | ||
| text_total_chars | Yes |