AgentMail
3 operations1 webhook
Email infrastructure for AI agents with programmatic inboxes and message handling.
Supported operations
- GetRead-only
Retrieve the complete details of an AgentMail message
- ListRead-only
List messages from an AgentMail inbox
- SendWrite
Send an email using AgentMail
Supported triggers
- Received
A new email was received in an AgentMail inbox
FAQ
Install corsair and @corsair-dev/agentmail, add the AgentMail plugin, and connect with an API key. Then call methods like corsair.agentmail.api.messages.get() from your app. Corsair verifies webhooks, and syncs data per tenant.
Yes. AgentMail requires an API key from your AgentMail account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit AgentMail, GitHub, Notion, Stripe, and the rest. Trigger AgentMail from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for email infrastructure for ai agents with programmatic inboxes and message handling. Common builds include sync jobs, admin tooling, and agents that call AgentMail APIs from your backend. Webhook handlers react to AgentMail events and fan out to Slack, email, or other plugins in the same tenant. Local DB entities let you query synced AgentMail records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per AgentMail API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/agentmail in the open repo. When AgentMail ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your AgentMail data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store AgentMail data on your behalf.