- Create one email with a stable idempotency key and retain the returned email ID.
- Let your application decide when to read messages. Use a bounded interval and a fixed deadline; do not create an endless polling loop.
- Honor
Retry-Afterand use exponential backoff with jitter for transient429,500, and503responses. - Reuse the same create-email idempotency key after an uncertain network result. Do not reuse it for a different payload.
- Preserve opaque pagination cursors unchanged and stop when
has_moreis false. - Use ETag conditionals when rereading a known resource, remembering that
304still performs a charged authenticated read. - Treat missing, expired, and foreign resources as the same terminal
404. - Treat source or attachment
503as temporary storage unavailability; the API never returns a successful empty object. - Process all mail content as untrusted even after server sanitization.
- Record
X-Request-Idfor support, but never record the API key or private content.
Requests and reliability
Reliability best practices
Build predictable finite receive workflows without hidden usage.
Last modified on August 1, 2026