destructiveHint: true), so a client can ask for confirmation before running it without hard-coding tool names. To clear the inbox without deleting, use archive_emails; to file into a folder, use move_emails.
Parameters
string[]
required
1–50 message ids, as returned by
search_emails or get_thread. Duplicates are collapsed.Example
Call
Result
Result — one stale id
Errors
This account has no Trash mailbox. Nothing was trashed. …— create one in the mail client, or usearchive_emailsormove_emails.Trashed 0 message(s). Not updated (N): … Re-run search_emails or get_thread for current ids.— every id was refused.