move_email_to_folder
Move inbound or sent emails to a chosen folder, keeping your mailbox organized and easy to manage.
Instructions
Move a message (inbound or sent) into a dossier (PATCH /api/mail/messages/:id/move).
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>",
"folder": "<folder>"
},
"name": "move_email_to_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Target dossier/folder name | |
| messageId | Yes | Message id from get_email thread |