Move Email
mail_moveMove an email to a different mailbox using its message ID and target mailbox, with source mailbox and account auto-resolved when omitted. Use for organizing or archiving messages.
Instructions
Move an email to a different mailbox. Source mailbox and account are auto-resolved from the message ID if not provided. Use when: organizing emails into folders, archiving messages
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": {
"messageId": "<messageId>",
"targetMailbox": "<targetMailbox>"
},
"name": "mail_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account name. If omitted, auto-resolved from the message ID. | |
| messageId | Yes | ||
| sourceMailbox | No | Source mailbox name. If omitted, auto-resolved from the message ID. | |
| targetMailbox | Yes | Destination mailbox name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes |