Batch Delete Messages
mailbox_batch_delete_messagesBatch delete messages from a mailbox, optionally permanently or with stale-write protection.
Instructions
Use this only when the user explicitly asks to delete messages and supplies or confirms the message IDs. Deletion is a mailbox mutation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Message IDs to delete, maximum 100. | |
| permanent | No | When true, permanently deletes instead of moving to Trash. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| if_in_state | No | Optional message state token for stale-write protection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||