batch_delete_emails
Delete multiple emails at once by moving them to trash or permanently removing them from your email account. Specify email IDs, choose permanent deletion or trash folder, and optionally run a dry-run validation first.
Instructions
Delete multiple emails (move to trash or permanently delete)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_ids | Yes | List of email IDs to delete | |
| folder | No | Source folder (default: 'INBOX') | INBOX |
| permanent | No | Permanently delete instead of moving to trash | |
| trash_folder | No | Trash folder name (default: 'Trash') | Trash |
| account_id | No | Specific account ID (recommended) | |
| dry_run | No | If true, only validate without executing (default: false) |