Read email
get_emailFetch one message in full: headers, recipients, attachments and body text. Identify it by mail_id (from search_mail) or by its RFC Message-ID header. Set include_images when the pictures are the content (screenshots, photos): up to 4 image attachments, largest first, come back as images you can see. read_attachment shows any one image. An attachment with downloaded=false is not on this Mac yet: Mail starts fetching it in the background now, and read_attachment / save_attachment wait for it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mail_id | No | ||
| message_id | No | ||
| include_body | No | ||
| include_images | No | ||
| max_body_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |