Node.js SDK

Send HIPAA compliant email with Node.js

Add secure, transactional email to any Ruby app with the Paubox gem. BAA included, TLS 1.2+ by default.

Node.js SDK

Integrate with any Node.js application

Whether you're building a REST API with Express, a full-stack app with Next.js, a service with NestJS, or a background worker, the Paubox SDK fits right into your stack.

ExpressNext.jsNestJSFastifyAWS Lambda
Read the quickstart
server.js
const pbMail = require('paubox-node');
const service = pbMail.emailService();

const message = pbMail.message({
  from:         'sender@yourdomain.com',
  to:           ['recipient@example.com'],
  subject:      'Your first Paubox email',
  text_content: 'This message was sent with the Paubox Node.js SDK.'
});

const response = await service.sendMessage(message);
console.log('Sent. Tracking ID:', response.sourceTrackingId);
Get started

All you need to get started

Resources to help you integrate HIPAA compliant email into your application quickly.

Quickstart

Follow the step-by-step guide to send your first secure email.

Read guide

Example repository

Clone the open-source example to get running with the SDK in minutes.

See code

API reference

Understand every REST endpoint and parameter available to your application.

Check docs
Loved by developers

Healthcare teams ship faster on Paubox

"Using Paubox Email API for our system notifications saves our customers time, saves them trouble, and gives them more information."

Morgan Smith Coral
Morgan SmithCoral

"The ease of implementation was really, really helpful. And is still helpful today because we were able to prototype and release new features easily."

Tyler Laracuente
Tyler LaracuenteRollover Rep

Send 300 emails per month, free

Integrate HIPAA compliant email in minutes — easy for recipients to read, available in 10 languages.