Integration·Node.js
Send email from Node.js
The Sendbound Node.js SDK is TypeScript-first, supports ESM and CJS, and works with Express, Fastify, NestJS, or any Node.js framework.
npm install sendboundimport { Sendbound } from 'sendbound';
const sb = new Sendbound(process.env.SB_KEY);
// Transactional
await sb.emails.send({
from: 'noreply@yourapp.com',
to: 'user@example.com',
subject: 'Your order is confirmed',
html: '<h1>Order #1234</h1><p>Thanks for your purchase.</p>',
});
// With React Email
import { OrderConfirmation } from './emails/OrderConfirmation';
await sb.emails.send({
from: 'noreply@yourapp.com',
to: 'user@example.com',
subject: 'Order confirmed',
react: <OrderConfirmation orderId="1234" />,
});TypeScript and JavaScript support
ESM and CommonJS compatible
React Email rendering built in
Express, Fastify, NestJS, Hono
Async/await with full error types
Idempotency keys for safe retries
Sub-30ms p50 send latency
Webhooks with HMAC verification
