Convert / merge mail files
convert_mailConvert or merge .eml, .mbox, .pst, and mailbox files into one .mbox or MailCraft mailbox, calendars into .ics, contacts into .vcf, or a single message into .eml without altering inputs.
Instructions
Convert or merge mail files: messages (.eml, .mbox, .pst, a mailbox) into one .mbox or one MailCraft .mailcraft mailbox, calendars into .ics, contacts into .vcf, or a single message of a mailbox into .eml. Inputs are never changed; the output is a new file (next to the first input or in output_dir; never replaced unless overwrite).
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": {
"input_paths": "<input_paths>",
"format": "<format>"
},
"name": "convert_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | eml: the message id (list_messages). | |
| name | No | File name without extension (default: the first input's). | |
| folder | No | mbox from a mailbox: the folder (id, kind or path; default inbox). | |
| format | Yes | ||
| overwrite | No | ||
| output_dir | No | ||
| input_paths | Yes | Absolute mail files: a .mailcraft mailbox and / or .eml, .mbox, .ics, .vcf, .pst files (read only, never changed). | |
| output_path | No |