Back to catalog
agentmailmessaging

AgentMail

Create and operate dedicated email inboxes for AI agents. Supports programmatic inbox creation, outbound sending, inbound message retrieval, unique agent addresses, workflow automation, and no manual account setup for email-based agent tasks.

Use for giving agents their own email address, sending outbound email, receiving replies, monitoring inboxes, automating email-based workflows, collecting verification messages, routing support mail, and managing correspondence without manual setup.

Endpoints
51
Metered
51
Free
0
Pricing
up to $10.00
Service URL
https://x402.api.agentmail.to

Endpoints

51 total
MethodPath
GET
v0/domains
List sender domains for the workspace
POST
v0/domains
Create sender domain for the workspace
DELETE
v0/domains/{domain_id}
Delete sender domain for the workspace
GET
v0/domains/{domain_id}
Get sender domain for the workspace
PATCH
v0/domains/{domain_id}
Update sender domain for the workspace
POST
v0/domains/{domain_id}/verify
Verify sender domain for the workspace
GET
v0/domains/{domain_id}/zone-file
Get Zone File (get-zone-file)
GET
v0/drafts
List email drafts for the workspace
GET
v0/drafts/{draft_id}
Get email draft for the workspace
GET
v0/drafts/{draft_id}/attachments/{attachment_id}
Get message attachment for the workspace
GET
v0/inboxes
List AgentMail inboxes for the workspace
POST
v0/inboxes
Create AgentMail inbox for the workspace
GET
v0/lists/{direction}/{type}
List Entries (get lists)
POST
v0/lists/{direction}/{type}
Create saved list entry for the workspace
DELETE
v0/lists/{direction}/{type}/{entry}
Delete saved list entry for the workspace
GET
v0/lists/{direction}/{type}/{entry}
Get saved list entry for the workspace
GET
v0/metrics
Query usage metrics for the workspace
GET
v0/pods
List AgentMail pods for the workspace
POST
v0/pods
Create AgentMail pod for the workspace
DELETE
v0/pods/{pod_id}
Delete AgentMail pod for the workspace
GET
v0/pods/{pod_id}
Get AgentMail pod for the workspace
GET
v0/pods/{pod_id}/domains
List sender domains for the workspace
POST
v0/pods/{pod_id}/domains
Create sender domain for the workspace
DELETE
v0/pods/{pod_id}/domains/{domain_id}
Delete sender domain for the workspace
GET
v0/pods/{pod_id}/domains/{domain_id}
Get sender domain for the workspace
PATCH
v0/pods/{pod_id}/domains/{domain_id}
Update sender domain for the workspace
POST
v0/pods/{pod_id}/domains/{domain_id}/verify
Verify sender domain for the workspace
GET
v0/pods/{pod_id}/domains/{domain_id}/zone-file
Get Zone File (get-zone-file)
GET
v0/pods/{pod_id}/drafts
List email drafts for the workspace
GET
v0/pods/{pod_id}/drafts/{draft_id}
Get email draft for the workspace
GET
v0/pods/{pod_id}/drafts/{draft_id}/attachments/{attachment_id}
Get message attachment for the workspace
GET
v0/pods/{pod_id}/inboxes
List AgentMail inboxes for the workspace
POST
v0/pods/{pod_id}/inboxes
Create AgentMail inbox for the workspace
GET
v0/pods/{pod_id}/lists/{direction}/{type}
List Entries (get lists)
POST
v0/pods/{pod_id}/lists/{direction}/{type}
Create saved list entry for the workspace
DELETE
v0/pods/{pod_id}/lists/{direction}/{type}/{entry}
Delete saved list entry for the workspace
GET
v0/pods/{pod_id}/lists/{direction}/{type}/{entry}
Get saved list entry for the workspace
GET
v0/pods/{pod_id}/metrics
Query usage metrics for the workspace
GET
v0/pods/{pod_id}/threads
List email threads for the workspace
DELETE
v0/pods/{pod_id}/threads/{thread_id}
Delete email thread for the workspace
GET
v0/pods/{pod_id}/threads/{thread_id}
Get email thread for the workspace
GET
v0/pods/{pod_id}/threads/{thread_id}/attachments/{attachment_id}
Get message attachment for the workspace
GET
v0/threads
List email threads for the workspace
DELETE
v0/threads/{thread_id}
Delete email thread for the workspace
GET
v0/threads/{thread_id}
Get email thread for the workspace
GET
v0/threads/{thread_id}/attachments/{attachment_id}
Get message attachment for the workspace
GET
v0/webhooks
List webhook subscriptions for the workspace
POST
v0/webhooks
Create webhook subscription for the workspace
DELETE
v0/webhooks/{webhook_id}
Delete webhook subscription for the workspace
GET
v0/webhooks/{webhook_id}
Get webhook subscription for the workspace
PATCH
v0/webhooks/{webhook_id}
Update webhook subscription for the workspace