delete_email
Remove unwanted emails from your inbox by moving them to trash or permanently deleting them. Specify email ID and optional account for targeted cleanup.
Instructions
Delete a single email (move to trash or permanently delete). account_id optional but recommended.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Email ID 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 (optional) |