Infrastructure email pour agents autonomes
Agents IA
Donnez à vos agents IA la capacité de recevoir et traiter des emails. Parfait pour l'automatisation LLM, les intégrations MCP et la communication agent-à-agent.
Fonctionnalités clés
- Créez des boîtes programmatiquement
- Recevez les emails en JSON structuré
- Support serveur MCP (bientôt)
- Nettoyage automatique avec rétention courte
Exemple
# 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"
}]
}
Prêt à commencer ?
Créez votre première boîte en moins de 60 secondes.