Integrate with Reloop using Node.js
Official Node.js SDK for Reloop. A few lines of code to send production email.
Install
bash
npm install reloop-emailSend email
send_email.ts
1import Reloop from 'reloop-email';2
3const reloop = new Reloop(process.env.RELOOP_API_KEY);4
5const { data, error } = await reloop.emails.send({6 from: 'Acme <onboarding@yourdomain.com>',7 to: ['delivered@yourdomain.com'],8 subject: 'Hello from Node.js',9 html: '<strong>It works!</strong>',10});11
12if (error) {13 console.error(error);14 return;15}16
17console.log('Email sent:', data.id);Popular Node.js integrations
Next.js
Send transactional email from Next.js App Router and Server Actions with the official Node.js SDK.
Express
Add reliable transactional email to Express APIs and middleware with a few lines of Node.js.
NestJS
Inject Reloop into NestJS services and controllers for type-safe transactional email.
Fastify
High-performance Fastify routes that send email through Reloop with the Node.js SDK.
Elysia
Send transactional email from Elysia routes on Bun with the official Node.js SDK.
Send with Node.js.
Get an API key, verify your domain, and ship transactional email in minutes.