carrel_mail
Extract and save email attachments from .eml/.mbox files, or group messages from files and directories into threads.
Instructions
Email files (eml/mbox): save a message's attachments into a directory, or group the messages of files/directories into threads.
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": {
"action": "<action>",
"path": "<path>"
},
"name": "carrel_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | eml/mbox file (attachments) or file/directory (threads). | |
| root | No | Desk root (default: server --root / cwd). | |
| force | No | Overwrite same-named attachments instead of suffixing. | |
| action | Yes | ||
| out_dir | No | Where attachments are written (attachments). |