delete_email
Delete an email by moving it to Trash, or permanently remove it when expunge is set or the email is already in Trash.
Instructions
Delete an email (moves to Trash unless expunge=True or already in Trash).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | IMAP UID | |
| folder | No | IMAP folder | INBOX |
| expunge | No | Permanently delete instead of moving to Trash |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |