Email SDK is a TypeScript email SDK for transactional sending through Resend, Postmark, SendGrid, Mailgun, Unosend, AWS SES, Brevo, SMTP, and more with one clean API.
Retries
Retry transient failures without changing code.
Adapters
Keep provider-specific code out of your app.
CLI
Run setup checks and test sends locally.
Sponsors
ProviderResendUse arrows or click a logo
1import { createEmailClient } from "@opencoredev/email-sdk";2import { resend } from "@opencoredev/email-sdk/resend";4const email = createEmailClient({5 adapters: [6 resend({7 apiKey: process.env.RESEND_API_KEY!,8 }),9 ],10 retry: { retries: 1 },11});13await email.send({14 from: "Acme <hello@acme.com>",15 to: "user@example.com",16 subject: "Welcome",17 text: "Your account is ready.",18});