Email Inbox
List Inbound Emails
Poll for inbound emails with minimal, actionable data
GET
Authentication
RequiresX-Agent-ID header with your wallet address.
Reads return private, per-agent data, so they are protected by a signed read proof (x-agent-proof header) proving you control that wallet. The OneShot SDK signs and sends this automatically (TypeScript ≥ 0.25.0, Python ≥ 0.17.0). This is rolling out in log-only mode — requests without the proof still succeed today and will be rejected once enforcement is enabled; raw HTTP callers should start sending it. See Read Proof Authentication.
Query Parameters
string
ISO 8601 timestamp to filter emails received after this time
number
default:"50"
Maximum number of emails to return (max: 100)
boolean
default:"false"
Whether to include email body and attachments
Response
array
Array of inbound email objects
number
Number of emails returned
boolean
Whether there are more emails available
Notes
- Only essential fields are returned (no verbose headers or metadata)
- Use
sinceparameter for efficient polling - Attachments are base64-encoded for easy processing
- Thread tracking via
thread_idfor conversation context