delete_email
Deletes an email, moving it to Trash by default. Can permanently delete by setting permanent=true to skip Trash.
Instructions
Delete an email. By default moves to Trash. Set permanent=true for permanent deletion (⚠️ irreversible). The mailbox must be a real folder. Use find_email_folder first if the email was found in a virtual folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account name from list_accounts | |
| emailId | Yes | Email ID to delete (from list_emails) | |
| mailbox | No | Mailbox containing the email | INBOX |
| permanent | No | ⚠️ Permanently delete (skip Trash) |