Copy Email
copy_emailCopies an email into another mailbox of the Mac's Apple Mail (Mail.app); the original stays where it is. To copy into a mailbox of ANOTHER account, leave account out (with account= the target is looked for in that account only) and use a folder name only that account has. A target that does not exist is refused with the mailboxes that were seen.
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": {
"message_id": "<message_id>",
"target_mailbox": "<target_mailbox>"
},
"name": "copy_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Mail.app account the message lives in (returned alongside the id). Pass it so the message is found in the right account. | |
| confirm | No | Ignored; kept for older clients. | false |
| mailbox | No | Folder the message is in. Passing it skips searching the other folders. | |
| message_id | Yes | The message id returned by list_emails or search_emails. Accepts the bare id or the <angle-bracketed> form. | |
| target_mailbox | Yes | Destination folder, by name (see list_email_folders). Nested folders are found by their own name, not by a path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| copied | No | ||
| warning | No | ||
| message_id | No | ||
| target_checked | No | Present when not confirmed: whether Mail answered the count of the target. |