mail_get_message_source
Retrieve the full raw RFC822 source of an email message to extract HTML bodies or inspect MIME structure directly.
Instructions
Get the full raw RFC822 source (headers + MIME body) of a message. Use this to extract HTML bodies or inspect MIME structure.
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": {
"accountName": "<accountName>",
"mailboxPath": "<mailboxPath>"
},
"name": "mail_get_message_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | No | Mail's internal numeric message id (fast, exact). | |
| accountName | Yes | ||
| mailboxPath | Yes | ||
| rfc822MessageId | No | RFC822 Message-ID header value, if messageId isn't known. |