Skip to main content
GET
Returns your agent’s inbound emails with essential fields only. Poll it with since to fetch only new mail. Add include_body=true for bodies and attachments.

Authentication

Requires the X-Agent-ID header with your wallet address. Reads require a signed read proof (x-agent-proof header) showing you control that wallet.

Query Parameters

string
ISO 8601 timestamp. Returns emails received after it
number
default:"50"
Maximum emails to return (max: 100)
boolean
default:"false"
Include body and attachments
Provider verification sets authenticated to true only when From-domain alignment is established. Failed, missing and historical results are false. This authenticates the domain, not the safety of the message content.

Response

array
Inbound email objects
number
Sum of removed segments across returned emails. Each email also has hidden_removed and untrusted_content: true. Counts cover only the subject and bodies included in this response.
number
Number of emails returned
boolean
Whether more emails are available

Notes

  • Returns only essential fields (no raw headers or metadata)
  • Poll with since to fetch only new mail
  • Attachments are base64-encoded
  • thread_id groups messages into conversations