Read an e-mail file (.eml, .msg, .mbox)
mail_viewRead an e-mail file (.eml, .msg, .mbox). Opens an e-mail file and returns sender, recipients, date, subject, the text (HTML reduced to plain text, never rendered), all headers and the attachments as files. Outlook .msg, .eml, .emlx, .mht and mailboxes (.mbox: list of messages). The upload is deleted as soon as the result is delivered. Use when: An agent has an e-mail file and needs its text, addresses or attachments. Not for: Checking whether attachments are safe or whether the sender is genuine (SPF/DKIM). File types: eml, msg, emlx, mbox, mht. Max 30 MB.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mail_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Tool options, if any (see the tool description). | |
| file_url | No | Public https URL of the file (preferred). | |
| filename | No | File name with its extension, e.g. part.step. | |
| file_base64 | No | The file as base64, for small files without a URL (give filename too). |