get_message_headers
Retrieve cached email headers including sender, subject, date, size, and safe unsubscribe methods for a given account, folder, and UID, enabling safe inbox auditing without downloading message bodies.
Instructions
Get the cached headers for one exact account/folder/UID reference.
Includes sender, subject, date, size, decision and safe unsubscribe method names. It never returns raw unsubscribe links or a message body.
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": {
"account": "<account>",
"folder": "<folder>",
"uid": "<uid>"
},
"name": "get_message_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | Yes | ||
| account | Yes |