Skip to content

SearchQuery

Defined in: src/types.ts:42

Transport-neutral search. Adapters compile this to a JMAP filter tree or a Fastmail search string, degrading per their capabilities (see ProviderCapabilities.serverSideNotFrom).

optional after?: string

Defined in: src/types.ts:50

ISO date YYYY-MM-DD; the only date operator Fastmail search reliably accepts


optional from?: string

Defined in: src/types.ts:46


optional inMailbox?: string & object | "inbox"

Defined in: src/types.ts:43


optional notFrom?: string[]

Defined in: src/types.ts:48

literal addresses only — domain negation is not supported by Fastmail search


optional text?: string

Defined in: src/types.ts:45

full-text term, e.g. ‘unsubscribe’


optional unreadOnly?: boolean

Defined in: src/types.ts:51