delete_messages
Delete messages from your mailbox, moving them to Trash for recovery, or permanently erase with confirmation.
Instructions
Delete messages. By default they move to Trash and can be recovered. permanent=True erases them, and that path previews first: call once to get a confirmation_token, then again with commit=True and that token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | ||
| uids | No | ||
| commit | No | ||
| folder | No | INBOX | |
| account | No | ||
| permanent | No | ||
| confirmation_token | No |