IMAP Advanced icon

IMAP Advanced

Generic IMAP operations with threading and attachments

Message → Search

AI-generated

Summary

Search the mailbox for messages matching the given IMAP criteria and return UIDs with a total count.

Inputs

  • mailbox — Mailbox to search in. Defaults to INBOX.
  • searchJson — Raw IMAP search criteria JSON object passed to the IMAP SEARCH command.
  • limit — Maximum number of UIDs to return. Results are sliced to this count; the total match count is still reported.

Output shape

array

Each workflow item returns an object with uids and total. The uids array contains up to limit message UIDs matching the criteria; total is the full match count before limiting.

Links

Discussion