Send Email with
Node.js

Send email from Node.js and TypeScript with the official SDK—async/await, full types, and framework guides for Next.js, Express, and more.

Send your first email

Install the SDK, set your API key, and call emails.send.

npm install @reloop/node
send_email.nodejs
import { Reloop } from '@reloop/node';

const reloop = new Reloop(process.env.RELOOP_API_KEY);

const { data, error } = await reloop.emails.send({
  from: 'Acme <onboarding@yourdomain.com>',
  to: ['delivered@yourdomain.com'],
  subject: 'Hello from Node.js',
  html: '<strong>It works!</strong>',
});

if (error) {
  console.error(error);
  return;
}

console.log('Email sent:', data.id);

Built for Node.js developers

Idiomatic Node.js client

Follows conventions your team already uses—clear types, predictable errors, and examples that match the official quickstart.

TypeScriptNext.jsServerless

Fast delivery

Messages route through Reloop's edge network for sub-second handoffs and high inbox placement.

Events & webhooks

Track delivered, bounced, and opened events from your Node.js app with signed webhook payloads.

Production ready

API keys, domain verification, rate limits, and observability—everything you need before going live.

Three steps with Node.js

1

Install

Run npm install @reloop/node in your project.

2

Authenticate

Add your Reloop API key from the dashboard and verify a sending domain.

3

Send

Copy the sample above or follow the full Node.js guide.

Start sending with Node.js

Get your API key and explore framework-specific tutorials in our documentation.

← All languages