delete_emails
Delete emails by providing their email IDs, obtained from listing email metadata. Specify account and mailbox to remove unwanted messages.
Instructions
Delete one or more emails by their email_id. Use list_emails_metadata first to get the email_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_name | Yes | The name of the email account. | |
| email_ids | Yes | List of email_id to delete (obtained from list_emails_metadata). | |
| mailbox | No | The mailbox to delete emails from. | INBOX |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |