get_email_headers
Fetch specific email headers such as List-Unsubscribe, Reply-To, Return-Path, and Authentication-Results without retrieving the full message body. Useful for inspecting routing and authentication details.
Instructions
Get selected raw email headers for a message without returning the full body. Defaults to unsubscribe, reply routing, return path, and authentication headers.
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": {
"emailId": "<emailId>"
},
"name": "get_email_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | The email ID whose headers should be retrieved | |
| headers | No | Header names to retrieve. Defaults to List-Unsubscribe, List-Unsubscribe-Post, Reply-To, Return-Path, and Authentication-Results. |