delete_email
Move an email to trash by providing its UID and mailbox. Clean up your inbox by removing undesired messages.
Instructions
Move an email to trash
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Email UID | |
| mailbox | No | IMAP mailbox the UID came from (the `mailbox` field in list results, e.g. "[Gmail]/Sent Mail"). Defaults to INBOX. Required for emails returned by get_emails_by_label, since UIDs are only unique within a mailbox. |