Mail Get
mail_getFetch a single email by ID and unwrap forwarded messages to extract the original sender, subject, body, and attachment paths for review or reply drafting.
Instructions
Fetch a single email by ID. Unwraps forwarded messages to extract the original.
Returns dict with keys: id, thread_id, sender (the account that
forwarded this message to Hermes), original_sender, original_subject,
original_body (plain text), original_to, original_cc,
original_reply_to, rfc_message_id, in_reply_to, references (RFC 822
threading headers; mail_create_reply_draft uses them for you),
forwarding_note (text the user wrote above the forward delimiter, or
null), attachment_paths (list of local file paths in ~/.cache/hermes-google/).
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": {
"message_id": "<message_id>"
},
"name": "mail_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||