get_email
Read a complete email by UID, including headers, body text, and attachment metadata, while leaving read status unchanged unless requested.
Instructions
Read a complete email (headers, text, attachment metadata) by uid.
mark_as_read=False (default) leaves the read status unchanged.
To save attachments: download_attachment.
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": "get_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | No | INBOX | |
| mark_as_read | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |