Nodemailer's on-demand fake SMTP for testing.
Ethereal is for dev testing. MailKite is for production send + receive.
A minimal, copy-paste starter. Swap in your own domain and API key.
import { MailKiteClient } from "@mailkite/client";
// One API, your own DKIM-signed domain — no mail server to run
const mailkite = new MailKiteClient({ token: process.env.MK_API_KEY! });
await mailkite.send({
from: "you@yourdomain.com", // any address on a verified domain
to: "user@example.com",
subject: "Hello from Ethereal Email",
html: "<p>Sent in milliseconds via MailKite.</p>",
}); Ethereal Email is Nodemailer's on-demand fake SMTP service: it auto-generates test credentials, captures messages (never delivers them), and shows them in a web UI with URL previews. Perfect for Node.js dev.
Free
Point a domain, drop in a webhook URL, and send your first email in minutes. Unlimited domains, no credit card.