Delete an email
proton_delete_emailDelete an email by moving it to Trash (reversible) or permanently expunging it (irreversible).
Instructions
Deletes a message. Default mode='trash' moves it to Trash (reversible). mode='permanent' expunges immediately — cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| mode | No | trash | |
| mailbox | No | INBOX | |
| trash_path | No | Override for the Trash mailbox path. If omitted, the \Trash special-use mailbox is auto-detected (works with Papelera/Corbeille/etc.). |