delete_email
Move an email to Trash to delete it while allowing recovery.
Instructions
Delete a message by moving it to the account's Trash folder.
The Trash folder is discovered via SPECIAL-USE (e.g. "Deleted Messages" on iCloud, "[Gmail]/Trash" on Gmail). The message is not permanently expunged from Trash, so it can still be recovered from the mail client.
Args: account: Account name from list_accounts. folder: Folder the message is currently in. uid: Message UID in that folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | Yes | ||
| account | Yes |