AgentMail | Email Inbox API for AI Agents
AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.
Offering
- Provider
- x402.api.agentmail.to
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Infrastructure
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://x402.api.agentmail.to/v0/drafts/%7Bdraft_id%7D/attachments/%7Battachment_id%7D- MIME type
- application/json
- First seen
- 2026-10-16T01:50:04.338Z
- Last seen
- Tags
- X402, agentic-markets, Email, Agent-Infra, Social, inbox, communication, Utility
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0 USDC
Atomic price: 0 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0 USDC
Atomic price: 0 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact - Payment option 3
- 0 USDC
Atomic price: 0 · Network: eip155:43114 · Asset: USDC · Scheme: exact - Payment option 4
- 0 atomic units
Atomic price: 0 · Network: eip155:196 · Asset: 0x74b7f16337b8972027f6196a17a631ac6de26d22 · Scheme: exact - Payment option 5
- 0 USDC
Atomic price: 0 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "0",
"payTo": "0x6e3184C204e596dED89E8A5693B602097F4Ab687"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "0",
"payTo": "7r4e5dwNS68MDaxbw7N8jbzHq7RCMBp9z6smHFH4NXWw"
},
{
"scheme": "exact",
"network": "eip155:43114",
"asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"amount": "0",
"payTo": "0x6e3184C204e596dED89E8A5693B602097F4Ab687"
},
{
"scheme": "exact",
"network": "eip155:196",
"asset": "0x74b7f16337b8972027f6196a17a631ac6de26d22",
"amount": "0",
"payTo": "0x6e3184C204e596dED89E8A5693B602097F4Ab687"
},
{
"scheme": "exact",
"network": "eip155:137",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "0",
"payTo": "0x6e3184C204e596dED89E8A5693B602097F4Ab687"
}
]Observed health
- Status
- Healthy
- Latest latency
- 817 ms
- Average latency
- 938 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "http",
"method": "GET",
"pathParams": {
"type": "object",
"required": [
"draft_id",
"attachment_id"
],
"properties": {
"draft_id": {
"$ref": "#/components/schemas/type_drafts:DraftId",
"description": "path parameter"
},
"attachment_id": {
"$ref": "#/components/schemas/type_attachments:AttachmentId",
"description": "path parameter"
}
}
}
}Output schema
{
"type": "object",
"title": "AttachmentResponse",
"required": [
"attachment_id",
"size",
"download_url",
"expires_at"
],
"properties": {
"size": {
"type": "integer",
"title": "AttachmentSize",
"description": "Size of attachment in bytes."
},
"filename": {
"type": "string",
"title": "AttachmentFilename",
"description": "Filename of attachment."
},
"content_id": {
"type": "string",
"title": "AttachmentContentId",
"description": "Content ID of attachment."
},
"expires_at": {
"type": "string",
"format": "date-time",
"description": "Time at which the download URL expires."
},
"content_type": {
"type": "string",
"title": "AttachmentContentType",
"description": "Content type of attachment."
},
"download_url": {
"type": "string",
"description": "URL to download the attachment."
},
"attachment_id": {
"type": "string",
"title": "AttachmentId",
"description": "ID of attachment."
},
"content_disposition": {
"enum": [
"inline",
"attachment"
],
"type": "string",
"title": "AttachmentContentDisposition",
"description": "Content disposition of attachment."
}
}
}