date). Drafts are left out (see Drafts). Results are paged with a cursor.
One folder
List the emails of one folder with itsfld_… id:
role (INBOX, SENT …), from List folders.
Filters
All filters are optional and combine with AND. An account in the path that isn’t anacc_… id, or doesn’t exist, gets 404 errors/not_found.
Response
has_more is true, pass cursor back, with the same filters, to get the next page.
Examples
Unread emails in the inbox
Unread emails in the inbox
GET /api/v1/acc_…/folders/fld_…/emails?is_unread=true, with the fld_… id of the folder whose role is INBOX.Everything exchanged with one person
Everything exchanged with one person
GET /api/v1/acc_…/emails?any_email=ana@example.comA whole conversation
A whole conversation
GET /api/v1/acc_…/emails/email_…/thread. See Replies and threads.Sent last week, with attachments
Sent last week, with attachments
GET /api/v1/acc_…/folders/fld_…/emails?has_attachments=true&after=2026-09-29T00:00:00Z, with the fld_… id of the folder whose role is SENT.