Paubox Email API
HIPAA compliant email API
Send secure, transactional emails that engage and improve the patient experience
4,000+ customers trust Paubox to secure 68 million emails every month
Get your apps to market faster
Start sending email notifications, reminders and updates without reinventing the wheel.
- Drive innovation without worrying about HIPAA compliance
- Reduce lengthy development timelines
- Improve and optimize message deliverability
- Track results on the Paubox analytics dashboard or utilize webhooks to pull event data into a third-party dashboard
Engage patients and others
Trigger transactional emails to create engaging experiences for patients and app users.
- Easily customize and update messages with dynamic email templates
- Add attachments and embedded images to deliver exceptional emails
- Personalize emails to send relevant content at the right time
Securely deliver messages
Send secure, HIPAA compliant transactional emails.
- Include PHI and protected information
- Emails are delivered with TLS 1.2 or higher
- HIPAA compliant solution and HITRUST CSF certified
Set up quickly
Integrate quickly to get transactional emails up and running.
- RESTful API and SMTP options available
- Supports ten programming languages, including Javascript (via Node.js), Ruby, PHP, Python and others
- In-depth developer docs for easy set up
Daniel Nelson, CTO, PlateJoy
When I learned about Paubox, I knew it was exactly what I needed. There wasn’t really even a question. For the vast majority of users, the experience would just be email—familiar, ubiquitous email.
CTO
PlateJoy
Why Paubox?
Drive app usage for a better patient experience
Deliver personalized notifications and reminders that engage patients and other users.
Focus on your product
You build. Let us maintain the HIPAA compliant email infrastructure.
Reduce risk
Every email sent is HIPAA compliant, every time. Paubox Email API is HITRUST CSF certified and offers a business associate agreement for all customers.
Get help when you need it
Paubox customer service is a best-in-class, U.S.-based team who are available via email or phone.
How Paubox Email API works
01
Email sent via your app
Your application triggers an email to be sent with Paubox Email API
02
Emails get encrypted
Emails are seamlessly encrypted by Paubox servers with 128/256-bit AES encryption
03
Protect emails in transit
Emails are protected while on their way to the recipient’s inbox with TLS 1.2 encryption protocol and higher
04
No TLS 1.2+? No problem!
If the destination inbox can’t receive encrypted email, then a secure link is delivered to view the message
Integrate in minutes
Deliver secure email faster with our REST APIs and SMTP libraries
- SDKs for 10 programming languages
- Detailed developer documentation available
- Test out the API with up to 300 emails/mo free
// Send secure email using the Paubox JavaScript/Node.js Library
// https://github.com/Paubox/paubox-node
"use strict";
require('dotenv').config();
const pbMail = require('paubox-node');
const service = pbMail.emailService();
var options = {
from: '[email protected]',
to: ['[email protected]'],
subject: 'Testing!',
text_content: 'Hello World!',
html_content: '<html><head></head><body><h1>Hello World!</h1></body></html>',
}
var message = pbMail.message(options)
service.sendMessage(message)
.then(response => {
console.log("Send Message method Response: " + JSON.stringify(response));
}).catch(error => {
console.log("Error in Send Message method: " + JSON.stringify(error));
});
# Send secure email using the Paubox Ruby Library
# https://github.com/Paubox/paubox_ruby
require 'Paubox'
require 'json'
require 'mail'
message = Mail.new do
from '[email protected]'
to '[email protected]'
cc '[email protected]'
subject 'HIPAA-compliant email made easy'
text_part do
body 'This message will be sent securely by Paubox.'
end
html_part do
content_type 'text/html; charset=UTF-8'
body '<h1>This message will be sent securely by Paubox.</h1>'
end
delivery_method Mail::Paubox
end
message.deliver!
=> {"message"=>"Service OK", "sourceTrackingId"=>"2a3c048485aa4cf6"}
message.source_tracking_id
=> "2a3c048485aa4cf6"
# Send secure email using the Paubox Ruby on Rails Extended Gem
# https://github.com/Paubox/paubox-rails
class UserMailer < ApplicationMailer
def welcome_email
@user = params[:user]
@url = user_url(@user)
delivery_options = { allow_non_tls: true }
mail(to: @user.email,
subject: "Welcome!",
delivery_method_options: delivery_options)
end
end
# Send secure email using the Paubox Python 3 Library
# https://github.com/Paubox/paubox-python3
import paubox
from paubox.helpers.mail import Mail
from config import Config
with open("config.cfg") as config_file:
paubox_config = Config(config_file)
paubox_client = paubox.PauboxApiClient(paubox_config.PAUBOX_API_KEY,
paubox_config.PAUBOX_HOST)
recipients = ["[email protected]"]
from_ = "[email protected]"
subject = "Testing!"
content = {"text/plain": "Hello World!"}
mail = Mail(from_, subject, recipients, content)
response = paubox_client.send(mail.get())
print(response.status_code)
print(response.headers)
print(response.text)
// Send secure email using the Paubox C# Library
// https://github.com/Paubox/paubox-csharp
static SendMessageResponse SendMessage()
{
Message message = new Message();
Content content = new Content();
Header header = new Header();
message.Recipients = new string[] { "[email protected]",
"[email protected]" };
header.From = "[email protected]";
message.Cc = new string[] { "[email protected]" };
message.Bcc = new string[] { "[email protected]" };
header.Subject = "Testing!";
header.ReplyTo = "[email protected]";
content.PlainText = "Hello World!";
message.Header = header;
message.Content = content;
SendMessageResponse response = EmailLibrary.SendMessage(message);
return response;
}
static SendMessageResponse SendMessage()
{
Message message = new Message();
Content content = new Content();
Header header = new Header();
message.setRecipients(new String[] { "[email protected]",
"[email protected]" });
header.setFrom("[email protected]");
message.setCc(new String[] { "[email protected]" });
message.setBcc(new String[] { "[email protected]" });
header.setSubject("Testing!");
header.setReplyTo("[email protected]");
content.setPlainText("Hello World!");
message.setHeader(header);
message.setContent(content);
EmailInterface email = new EmailService();
SendMessageResponse response = email.SendMessage(message);
return response;
}
// Send secure email using the Paubox PHP Library
// https://github.com/Paubox/paubox-php
<?php
require_once __DIR__ . '/vendor/autoload.php';
$dotenv = Dotenv\Dotenv::create(__DIR__);
$dotenv->load();
$paubox = new Paubox\Paubox();
$message = new Paubox\Mail\Message();
$content = new Paubox\Mail\Content();
$content->setPlainText("Hello World");
$header = new Paubox\Mail\Header();
$header->setSubject("Testing!");
$header->setFrom("[email protected]");
$recipients = array();
array_push($recipients,'[email protected]');
$message->setHeader($header);
$message->setContent($content);
$message->setRecipients($recipients);
$sendMessageResponse = new Paubox\Mail\SendMessageResponse();
$sendMessageResponse = $paubox->sendMessage($message);
print_r($sendMessageResponse);
# Send secure email using the Paubox Perl Library
# https://github.com/Paubox/paubox-perl-sdk
use strict;
use warnings;
use Paubox_Email_SDK;
my $messageObj = new Paubox_Email_SDK::Message(
'from' => '[email protected]',
'to' => ['[email protected]'],
'subject' => 'Testing!',
'text_content' => 'Hello World!',
'html_content' => '<html><body><h1>Hello World!</h1></body></html>'
);
my $service = Paubox_Email_SDK -> new();
my $response = $service -> sendMessage($messageObj);
print $response;
Developer resources
Download software development kits and review instructions in the developer document portal.
Related resources
Developer Resources
Paubox Email API documentation hub
Learn how to send HIPAA compliant email with confidence and integrate TLS 1.3 encrypted email in minutes with our email API.
Blog Post
Why healthcare businesses choose Paubox Email API
Paubox Email API is a great option for covered entities to send transactional emails at scale by quickly integrating our secure, HIPAA compliant solution into their applications.
Blog Post
Dynamic email templates have been added to Paubox Email API
Dynamic email templates have been added to Paubox Email API. This new feature is included for all existing and future Paubox Email API customers.