copy-mail-message
Copy an email message to any mail folder, such as inbox or archive. Returns the copied message with a new ID in the destination folder.
Instructions
Copy a message to a folder within the user's mailbox.
💡 TIP: Copies a message to another mail folder. Body: { DestinationId: '<mailFolder-id or well-known name like inbox, archive, junkemail>' }. Returns the newly created message (with a new id) in the destination folder. For moving instead of copying, use move-mail-message.
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 |