mail_download_raw
Download a complete raw RFC822 .eml email from a home.pl mailbox to a private local file, preserving headers and MIME parts; returns path, byte count, and SHA-256.
Instructions
Stream the complete original RFC822 message (.eml), including every header and MIME part, into a private local file without loading the message into tool output. Returns file path, byte count and SHA-256. The .eml is the byte-preserving source of truth. Results exceeding 64 KiB are saved completely to a private JSON file and return a compact summary with completeResultFile.
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": {
"accountId": "<accountId>",
"folder": "<folder>",
"uid": "<uid>",
"uidValidity": "<uidValidity>"
},
"name": "mail_download_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | Yes | ||
| accountId | Yes | ||
| uidValidity | Yes |