Adapters
ZeptoMail
Configure the Zoho ZeptoMail adapter.
ZeptoMail
email-sdk/zeptomailimport { createEmailClient } from "email-sdk";
import { zeptomail } from "email-sdk/zeptomail";
const email = createEmailClient({
adapters: [zeptomail({ token: process.env.ZEPTOMAIL_TOKEN! })],
});Options
| Option | Type | Required | Notes |
|---|---|---|---|
token | string | Yes | ZeptoMail API token. The adapter adds the Zoho-enczapikey prefix if needed. |
baseUrl | string | No | Defaults to https://api.zeptomail.com. |
fetch | typeof fetch | No | Useful for tests or custom runtimes. |
ZeptoMail supports recipients, reply-to, and attachments. Unsupported fields throw before the API call.