Get email
get_emailRetrieve a single email message by its UID. Choose full content or headers, and optionally download attachments to a temporary directory.
Instructions
Read one message by uid. format=full returns text/html bodies; format=headers returns only headers. include_attachments=true saves attachments to a private temp dir and returns their paths.
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 | Message uid as returned by list_emails / search_emails (IMAP UID, or POP3 UIDL) | |
| folder | No | Mailbox folder (IMAP). POP3 only supports INBOX. | INBOX |
| format | No | full | |
| include_attachments | No |