Move email
move_emailMove an email from one real mailbox folder to another by providing the account, email ID, source folder, and destination folder; skip virtual folders like All Mail.
Instructions
Move an email to a different mailbox folder. The sourceMailbox must be a real folder, not a virtual one like "All Mail". Use find_email_folder first if the email was discovered in a virtual folder.
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": {
"account": "<account>",
"emailId": "<emailId>",
"sourceMailbox": "<sourceMailbox>",
"destinationMailbox": "<destinationMailbox>"
},
"name": "move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account name from list_accounts | |
| emailId | Yes | Email ID to move (from list_emails) | |
| sourceMailbox | Yes | Current mailbox (e.g., INBOX) | |
| destinationMailbox | Yes | Target mailbox (e.g., Archive). Use list_mailboxes to see options. |