← All integrations

Mailtrap

49 operations0 webhooks

Email testing and delivery platform for safe staging inboxes and transactional sending.

Supported operations

  • Get Billing UsageRead-only

    Get billing usage against the account's testing/sending/marketing plan limits

  • Get Permission ResourcesRead-only

    Get every resource (inboxes, projects, domains, billing, account) the token has admin access to, nested by hierarchy

  • List AccountsRead-only

    List Mailtrap accounts the token can access

FAQ

Install corsair and @corsair-dev/mailtrap, add the Mailtrap plugin, and connect with an API key. Then call methods like corsair.mailtrap.api.account.getBillingUsage() from your app. Corsair syncs data per tenant.

Yes. Mailtrap requires an API key from your Mailtrap 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 Mailtrap, GitHub, Notion, Stripe, and the rest. Trigger Mailtrap from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for email testing and delivery platform for safe staging inboxes and transactional sending. Common builds include sync jobs, admin tooling, and agents that call Mailtrap APIs from your backend. Local DB entities let you query synced Mailtrap 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 Mailtrap 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/mailtrap in the open repo. When Mailtrap 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 Mailtrap data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Mailtrap data on your behalf.