IMAP Advanced icon

IMAP Advanced

Generic IMAP operations with threading and attachments

Message → Update Flags

AI-generated

Summary

Update flags on specified messages in a mailbox

Inputs

  • mailbox — Mailbox to target, defaults to INBOX
  • uidList (required) — Comma-separated list of message UIDs to update
  • flagAction (required) — Flag action to perform: add, remove, or replace
  • flagsCsv (required) — Comma-separated list of flag names to apply (e.g. Seen, Flagged)

Output shape

object

Returns an object with the count of updated messages, the action performed, and the flags applied.

Links

Discussion