Skip to content

buildEmailFilter

buildEmailFilter(query, inboxId): Record<string, unknown>

Defined in: src/provider/jmap/query.ts:9

Compile the transport-neutral SearchQuery into a JMAP Email/query filter tree. query.inMailbox === 'inbox' resolves to the passed inboxId; any other value must already be a mailbox id (the provider resolves label names before calling).

SearchQuery

string | null

Record<string, unknown>