Skip to content
You're viewing documentation for v3.0.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Quickstart

Create a Resend client and send your first email.

Set a server-only Resend key:

Then create the client and send:

That is the whole happy path. The result tells you which adapter ran and includes the provider receipt when one is available.

Check a message without sending

Use validate when you want the same message and routing checks without a provider send request:

Check from the CLI

--dry-run runs the same validation without sending email.

Standalone starter

A runnable copy of this page for Node 20+ or Bun, with .env loading.

Add retries and fallback

Choose retry counts and unknown-delivery policy deliberately.

Schedule an email

Use provider scheduling now, or an app-owned queue when you need more control.

Test without a provider

Capture sends with the memory adapter and capture plugin.

Last updated on