imap_delete_by_domain
Delete all emails from a specific domain to clean up unwanted newsletters or spam. Supports dry run to preview deletions.
Instructions
Delete all emails from a specific domain. Useful for cleaning up unwanted newsletters or spam.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to delete emails from (e.g., "spammer.com") | |
| dryRun | No | If true, only report what would be deleted | |
| folder | No | Folder name | INBOX |
| accountId | Yes | Account ID |