Delete emails
delete_emailMove messages to the Trash folder, exactly as clicking Delete in Outlook or webmail would. They are recoverable from Trash; this does not destroy them permanently. All the messages must be in the SAME folder. Refuses to run on messages that are already in Trash, because permanently deleting mail is a separate, explicitly named operation this tool does not perform. Pass every UID in one call rather than calling it once per message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uids | Yes | The UIDs to act on, from list_emails or search_emails. Pass EVERY message you want changed in ONE call - this tool acts on the whole set in a single operation, and doing it that way costs the user one call instead of one per message. Up to 500 at a time. A single message is simply a one-element array. | |
| mailbox | No | IMAP folder name. Defaults to INBOX. |