Skip to main content
The Gmail plugin syncs data locally. Use corsair.gmail.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Drafts

Path: gmail.db.drafts.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Labels

Path: gmail.db.labels.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Messages

Path: gmail.db.messages.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Threads

Path: gmail.db.threads.search

Searchable filters

Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.