move_email
Transfer an email between IMAP folders on any provider, including Gmail, Outlook, and custom domains, by specifying the account, UID, source folder, and target folder.
Instructions
Move an email between IMAP folders — works with any provider (Gmail, Outlook, custom domains).
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": {
"accountId": "<accountId>",
"uid": "<uid>",
"sourceFolder": "<sourceFolder>",
"targetFolder": "<targetFolder>"
},
"name": "move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The UID of the email to move | |
| accountId | Yes | The ID of the account to use | |
| sourceFolder | Yes | The current folder of the email | |
| targetFolder | Yes | The destination folder | |
| confirmationId | No | Confirmation token from a prior confirmation-required response. Required to execute write operations when server is in --confirm mode. |