IMAP Advanced icon

IMAP Advanced

Generic IMAP operations with threading and attachments

Message → Delete

AI-generated

Summary

Adds the /Deleted flag to specified message UIDs in the mailbox, marking them for deletion.

Inputs

  • mailbox — Mailbox containing the messages. Defaults to INBOX.
  • uidList (required) — Comma-separated list of message UIDs. Required; operation throws if empty.

Output shape

object

Returns the result of the IMAP FLAGS_ADD operation; does not permanently expunge messages.

Links

Discussion