delete_emails
Remove unwanted emails from a mailbox by soft-deleting to Trash or permanently expunging them. Use UIDs to specify which messages to delete from any folder.
Instructions
Delete emails by moving them to Trash (soft delete) or permanently expunging them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | Array of email UIDs to delete | |
| folder | No | Folder containing the emails | INBOX |
| permanent | No | If true, permanently expunges without moving to Trash |