Email infrastructure for autonomous agents
AI Agents
Give your AI agents the ability to receive and process emails. Perfect for LLM-powered automation, MCP integrations, and agent-to-agent communication.
Key Features
- Create inboxes programmatically
- Receive emails as structured JSON
- MCP server support (coming soon)
- Automatic cleanup with short retention
Example
# Create an inbox for your AI agent
curl -X POST https://app.mailhook.co/api/v1/email_addresses/random \
-H "Authorization: Bearer your_api_key"
# Response
{
"data": {
"id": "ea_abc123",
"address": "[email protected]",
"metadata": {}
}
}
# Poll for incoming emails
curl https://app.mailhook.co/api/v1/email_addresses/ea_abc123/inbound_emails \
-H "Authorization: Bearer your_api_key"
# Get structured JSON response
{
"data": [{
"id": "ie_xyz789",
"from": "[email protected]",
"subject": "Your verification code",
"text_body": "Your code is: 847291",
"received_at": "2024-01-15T10:30:00Z"
}]
}
Ready to get started?
Create your first inbox in under 60 seconds.