Email API

A HIPAA compliant email API for developers and IT professionals

An email API for healthcare providers and developers

Email stack

Paubox's HIPAA compliant encrypted email API allows hospitals, health management organizations (HMOs), clinics, doctors, and other covered entities to integrate Paubox's seamless and secure email solution with their IT infrastructure. The uses range from integrating with patient portals to securing website contact forms.

This API also allows third-party developers who are creating innovative healthcare IT solutions to focus on their applications instead of building and maintaining a HIPAA compliant email server. This can help developers get to market faster and quickly integrate a seamless email product that works on desktops, laptops, smartphones, tablets and wearables.

Take advantage of Paubox's experience with maintaining HIPAA compliance with email and focus on innovation.

Features & Benefits

Optimize Your IT

Paubox can secure every email sent from EHRs and patient portals seamlessly so recipients can view messages without the inconvenience of logging into web portals or downloading apps. Any IT system that sends email can be secured, even scanners.

Focus on Innovation

Third-party developers creating innovative healthcare solutions can focus on their apps instead of building and maintaining a HIPAA compliant email server.

Leverage our Tech

Use Paubox’s industry expertise and patent-pending email encryption that makes it easy to send and receive HIPAA compliant email. No plug-ins. No software. Just email.

Business Associate Agreements

Not having a BAA in place with your vendors could have you facing steep fines. Paubox will sign a BAA to make sure you stay HIPAA compliant.

Professional Services

Need hands-on help getting setup? Ask about our professional services, where our expert technical support can get you on the right track.


Paubox API provides two ways to send email: through our SMTP relay or through our Web API.

SMTP Relay

If you are integrating Paubox with an existing application, setting up the application to use our SMTP relay is easiest, as it only requires modifying SMTP configuration.

  • Set the server host name to
  • Use port 25 or 587 for TLS connections. Unencrypted connections are not allowed.

We strongly discourage users from sending mail directly through a single specific IP address when integrating with Paubox. Always point your traffic to

The IP addresses at are changed often and without notice. If you point your traffic to one specific IP, you will experience interruptions in your service when these IPs are changed.


Here's how to use the Paubox API with nodemailer

var nodemailer = require("nodemailer");
var smtpTransport = require("nodemailer-smtp-transport");
var transporter = nodemailer.createTransport(smtpTransport({
  "port": 587,
  "host": "",
  "auth": {
    "user": "",
    "pass": "password"
  "tls": {
    "rejectUnauthorized": false

  from: "",
  to: "",
  subject: "Subject",
  html: "html body",
  text: "text body"
  // etc
}, function (err) {
  // error handling

Here's how to use the Paubox API with Ruby on Rails Action Mailer

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  :address   => "",
  :port      => 587,
  :user_name => "",
  :password  => "<password>",
  :enable_starttls_auto => true,
  :authentication => "plain",

Here's how to use the Paubox API with PHP

require_once "Mail.php";
// SMTP authentication params
$smtp_params["host"]     = "";
$smtp_params["port"]     = "587";
$smtp_params["auth"]     = true;
$smtp_params["username"] = "";
$smtp_params["password"] = "<password>";

Here's how to use the Paubox API with C#

MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("");
mail.From = new MailAddress("your_email_address");
mail.Subject = "Test Mail";
mail.Body = "Hello World";
SmtpServer.Port = 25;
SmtpServer.Credentials = new System.Net.NetworkCredential("", "<password>");
SmtpServer.EnableSsl = true;
MessageBox.Show("mail Send");

and here's how to use the Paubox API with Python


import smtplib

PASSWORD = "password"
TO = [""]
SUBJECT = "subject"
TEXT = "text body"

message = """From: %s\nTo: %s\nSubject: %s\n\n%s""" 
% (FROM, ", ".join(TO), SUBJECT, TEXT)

server = smtplib.SMTP("", 587)
server.login(USERNAME, PASSWORD)
server.sendmail(FROM, TO, message)

Professionals use Paubox

Dr. Jim Ellis

We now utilize our normal email workflow to communicate with our referring doctors about their patients’ treatment. The information is instantaneous, convenient and most importantly secure.

Dr. Jim Ellis, Owner/Surgeon
Ellis Oral Surgery

Katie McBride

Paubox has allowed me freedom to communicate directly and more broadly with my psychotherapy clients and with other related professionals. With its seamless email encryption and keeping my own email address, Paubox has given me peace of mind.

Katie McBride, Ph.D.
Licensed Clinical Psychologist

Bhupendra Sheoran

Once we did our due diligence, there was no doubt we would go with Paubox

Bhupendra Sheoran, Executive Director

Bonnie Castonguay

We’re better now because we’re protecting our clients’ information.

Bonnie Castonguay, RN Co-Founder
Hookele Health Navigators