Email API built for AI agents — create inboxes, send and receive messages programmatically
Connect via PincerAPI
Use our proxy to call AgentMail with your PincerAPI key. No separate signup needed.
# Get instructions for AgentMail
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
https://pincerapi.com/api/v1/apis/agentmail/instructions
# Call through PincerAPI proxy
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
"https://pincerapi.com/api/v1/connect/agentmail/your/endpoint/here"Direct Setup
Endpoints
/inboxes$0.0000/callCreate a new email inbox for your agent
💡 Auth: x-api-key header. Creates a dedicated inbox like my-agent@agentmail.to. Use this for automated email workflows.
/inboxes/{inbox_id}/messages$0.0000/callList messages in an inbox
💡 Poll this endpoint to check for new messages. Each message includes from, subject, body, and attachments.
/inboxes/{inbox_id}/send$0.0000/callSend an email from an agent inbox
💡 Send from your agent's inbox. Supports plain text (body) or HTML (html). Great for automated notifications and responses.
Related APIs in email
Resend
Resend is a modern email API built for developers. Provides a simple REST API for sending transactional emails with excellent deliverability, React Email template support, and domain verification. Great for startups and modern stacks.
Gmail API
Full Gmail access — read, send, draft, label, search, and manage email threads
apilayer mailboxlayer
Email address validation
Email Validation
Validate email addresses for deliverability and spam
Cloudmersive Validate
Validate email addresses, phone numbers, VAT numbers and domain names
Disify
Validate and detect disposable and temporary email addresses