email_move
Move an email to a different folder in your mailbox. Specify the account, email ID, and target folder; provide the source folder for IMAP/iCloud when the email is not in the inbox.
Instructions
Move an email to a different 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": {
"accountId": "<accountId>",
"emailId": "<emailId>",
"targetFolder": "<targetFolder>"
},
"name": "email_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ||
| accountId | Yes | ||
| sourceFolder | No | Source folder (required for IMAP/iCloud when email is not in INBOX) | |
| targetFolder | Yes |