sch_get_mail
Retrieve a specific email message by UID from a specified folder, with options for body format and character truncation.
Instructions
Read a specific message by UID (the "id" from sch_list_mail or sch_search_mail).
Args: msg_id: Message UID from sch_list_mail / sch_search_mail folder: Mailbox folder (default: INBOX) body: Body format: "text" (plain text, default), "html", or "none" max_body_chars: Truncate body to this many chars (default: 5000) account: Account key in credentials.json (e.g. "personal" or "work"). Default: the account named by "default" in that file.
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": {
"msg_id": "<msg_id>"
},
"name": "sch_get_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | text | |
| folder | No | INBOX | |
| msg_id | Yes | ||
| account | No | ||
| max_body_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||