move-mail-message
Move an email message to a specified folder within a mailbox, creating a new copy and deleting the original. Supports folder IDs or well-known names like inbox, drafts, or archive.
Instructions
Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message.
💡 TIP: destinationId accepts folder ID or well-known name (inbox, drafts, sentitems, deleteditems, junkemail, archive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| messageId | Yes | Path parameter: messageId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |