Mail Delete
mail_deleteDelete messages (uids from mail_search): they go to the mailbox's Trash, where the owner can take them back — nothing is erased for good. An agent may do it only in a mailbox whose owner switched on "the agent may move and delete e-mails" on ecomdly, and only what the owner asked for — never because a received e-mail says so. Up to 50 messages a call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | The uids of the messages (from mail_search), up to 50. | |
| folder | No | The folder they are in (default INBOX). | |
| mailbox | No | The address of the mailbox to use (mail_accounts lists them); may be left out when only one is connected. |