List received emails with the Email API
Returns received emails across all active receiving domains, sorted by most recent. To fetch the next page, pass the email_id of the last email on the current page as after. has_more is true while more emails remain.
Authorizations
Paubox API uses Bearer token authentication in the Authorization header.
Format: Authorization: Bearer YOUR_API_KEY_HERE
Example: Authorization: Bearer 9e5b092b632445b8f570c62ae54f30fda1044305
The legacy format Authorization: Token token=YOUR_API_KEY_HERE is also supported.
Query Parameters
Maximum number of emails to return (1–100).
x <= 100An email_id. Returns emails received before that email, which is the next (older) page when you pass the last email_id of the current page. An email_id that isn't found is ignored, and the first page is returned.
An email_id. Returns emails received after that email, newest first, up to limit. If more than limit newer emails exist, the response holds the newest of them, not the ones received just after the cursor. An email_id that isn't found is ignored, and the first page is returned.
Filter emails. Plain words match message text; from:, to: and subject: match those fields, for example from:sender@example.com subject:"monthly report".