Move a message to a folder
mail_move_messageMove an email to another folder (archive, deleted items, or custom) and get the new message id for follow-up calls.
Instructions
Moves a message to another mail folder. The move assigns the message a NEW id — the old one stops resolving, so use the id returned here for any follow-up call. destinationId accepts a folder id from mail_list_folders or a well-known name such as archive or deleteditems; moving to deleteditems is how you soft-delete without mail_delete_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the message to move. | |
| destinationId | Yes | Target folder id from mail_list_folders, or a well-known name: inbox, archive, deleteditems, junkemail, drafts, sentitems. |