Adapters
Supported email service adapters and transports.
Email SDK ships with 15+ adapters. Import only the adapter you use; the package does not ask you to configure providers that are not on your send path.
Every adapter follows the same contract: map the fields it supports and throw a validation error for fields the provider API cannot represent. Use the SDK field support guide before choosing fallback routes.
A strong default for developer-first transactional email.
Send through Microsoft 365 and Azure AD with Microsoft Graph.
Great for focused transactional email and deliverability.
Best when your product already runs on Twilio SendGrid.
A good fit for AWS teams sending at high volume.
Use with an existing Mailgun setup or sending domain.
A simple API with a friendly dashboard for growing teams.
Use transactional email alongside your Brevo marketing stack.
Best for products already using Mailchimp Transactional.
Use when SparkPost already powers your email delivery.
Useful when testing and production email live in Mailtrap.
Send directly from apps running on Cloudflare Workers.
A natural fit for apps hosted in the Scaleway ecosystem.
Use transactional email alongside Zoho and ZeptoMail.
A simple transactional email API for smaller products.
Send product and lifecycle email through your Loops account.
An open-source-friendly option for product email.
Connect any existing SMTP server or self-hosted mail system.
Import pattern
import { createEmailClient } from "@opencoredev/email-sdk";
import { resend } from "@opencoredev/email-sdk/resend";
import { smtp } from "@opencoredev/email-sdk/smtp";
const email = createEmailClient({
adapters: [
resend({ apiKey: process.env.RESEND_API_KEY! }),
smtp({
host: process.env.SMTP_HOST!,
auth: {
user: process.env.SMTP_USER!,
pass: process.env.SMTP_PASS!,
},
}),
],
fallback: ["smtp"],
});
Adapter groups
| Group | Adapters |
|---|---|
| Popular APIs | Resend, Postmark, SendGrid, Mailgun, MailerSend, Brevo, Mailchimp Transactional |
| Infrastructure | SparkPost, Mailtrap, Scaleway, ZeptoMail, MailPace |
| Product-led | Loops, Plunk |
| Transport | Built-in SMTP |