data key, with meta added on
collections:
- Timestamps are ISO 8601, always UTC.
- Email ids are UUIDv7, which sort chronologically. That property is what
makes the
since/beforecursors work without a separate sort key. - Deletes return
204with no body. - Attachment downloads return raw bytes, not JSON.
Two fields that need care
Bodies are not in the list response
GET /api/v1/inboxes/{address}/emails returns summaries only: id, sender,
subject, timestamp, and whether attachments exist. Fetch
GET /api/v1/emails/{id} for text_body, html_body, and attachment metadata.
text_body and html_body are each null when the message carried no such
part. A message with only an HTML part is common, so always check both before
running a regex over one of them.
Pagination
Listing is capped at 100 per response. With a one-hour TTL you are unlikely to
reach it, but a mail-bombed inbox will, and the cap is what keeps that from
becoming one enormous response.