delete_message
Move email messages to Trash by default; permanently delete them only when permanent and confirm are set to true. Specify a UID and optional folder to remove mail from an IMAP account.
Instructions
Move to Trash by default. Permanent deletion requires permanent=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | No | INBOX | |
| confirm | No | ||
| permanent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||