delete_message
Delete an email message from any mailbox by providing its ID, account, and mailbox name. Routes to the correct Trash folder automatically.
Instructions
Delete a message. Uses Mail's delete verb which routes to the correct Trash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | The numeric ID of the message | |
| accountName | Yes | The name of the account containing the mailbox | |
| mailboxName | Yes | The name of the mailbox containing the message |