Skip to main content
The account goes in the path. Emails come newest first (by their date). Drafts are left out (see Drafts). Results are paged with a cursor.

One folder

List the emails of one folder with its fld_… id:
It takes the same filters and paging. Get the folder ids, and their role (INBOX, SENT …), from List folders.

Filters

All filters are optional and combine with AND.
string
Sender address (exact, case-insensitive).
string
A recipient address (to, cc or bcc).
string
Sender or any recipient: everything exchanged with this person.
string
Subject contains (case-insensitive).
boolean
true for unread only, false for read only.
boolean
Emails with attachments (inline images count).
date-time
Dated before this time (ISO 8601).
date-time
Dated after this time.
integer
default:"50"
1 to 250.
string
From the previous page.
An account in the path that isn’t an acc_… id, or doesn’t exist, gets 404 errors/not_found.

Response

Each item is a full email object, bodies and headers included. When has_more is true, pass cursor back, with the same filters, to get the next page.

Examples

GET /api/v1/acc_…/folders/fld_…/emails?is_unread=true, with the fld_… id of the folder whose role is INBOX.
GET /api/v1/acc_…/emails?any_email=ana@example.com
GET /api/v1/acc_…/emails/email_…/thread. See Replies and threads.
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.