Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Effect KitEmails

Installation

Install the package, one provider SDK at its pinned version, and React only if you render templates.

@effect-kit/emails needs Effect and the SDK of the provider you use. Every provider SDK is an optional peer dependency, so install exactly one.

Requirements

  • Node.js >=24.22.0.
  • ESM only. The package has no CommonJS build.
  • effect@^4.0.6. Snippets written for Effect v3 do not work.

Install

Example (Installing the Package With Resend)

npm install @effect-kit/emails effect resend@6.34.1

Provider SDKs are pinned to exact versions. Install the version in the table below, not a range.

Importing a provider subpath without its SDK fails with ERR_MODULE_NOT_FOUND. The root @effect-kit/emails and @effect-kit/emails/testing need only Effect.

Provider SDKs

SubpathSDK packages (exact version)
@effect-kit/emails/resendresend@6.34.1
@effect-kit/emails/ses@aws-sdk/client-sesv2@3.1157.0
@effect-kit/emails/postmarkpostmark@5.1.0
@effect-kit/emails/sendgrid@sendgrid/mail@8.1.6
@effect-kit/emails/mailgunmailgun.js@14.1.0, form-data@4.0.5
@effect-kit/emails/nodemailernodemailer@10.2.1
@effect-kit/emails/brevo@getbrevo/brevo@6.2.0
@effect-kit/emails/mailersendmailersend@3.6.0
@effect-kit/emails/mailtrapmailtrap@5.0.0
@effect-kit/emails/mailchimp-transactional@mailchimp/mailchimp_transactional@1.4.1
@effect-kit/emails/azure@azure/communication-email@1.1.0
@effect-kit/emails/zeptomailzeptomail@8.0.1
@effect-kit/emails/scaleway@scaleway/sdk-tem@2.16.3, @scaleway/sdk-client@2.16.0
@effect-kit/emails/lettermintlettermint@3.2.0
@effect-kit/emails/plunk@plunk/node@3.0.3
@effect-kit/emails/eusend@eusend_dev/sdk@0.19.0

React peers

Only React templates need React.

npm install @react-email/render@2.1.1 react@19.3.1 react-dom@19.3.1
npm install -D @types/react@19.3.0

Dev dependency

@types/react is a type-only peer. The renderer itself needs @react-email/render, react and react-dom.