Get raw message source
mail_get_sourceRetrieve the raw RFC 5322 source of an email message to inspect headers and perform forensic analysis.
Instructions
Fetch a message's raw RFC 5322 source, for header forensics.
On IMAP this needs the message to be available offline; the tool says so rather than returning a partial.
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_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decrypt | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||