---
title: Adapters
description: Supported email service adapters and transports.
sidebar:
  icon: "cable"
---

Email SDK ships with fifteen 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](/v0.3.0/docs/adapters/field-support)
before choosing fallback routes.



The live version of this content is at https://email-sdk.dev/docs/adapters.



## Import pattern

```ts
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                                                                   |
