Rails SDK

Send HIPAA compliant email with Rails

Add secure, transactional email to any Rails app. BAA included, TLS 1.2+ by default.

Rails SDK

Integrate with any Rails app

Drop the Paubox Rails gem into your existing Rails stack and start sending in minutes.

Action Mailer
Read the quickstart
user_mailer.rb
class UserMailer < ApplicationMailer
  def welcome_email
    @user = params[:user]
    mail(
      to:      @user.email,
      from:    "noreply@yourdomain.com",
      subject: "Welcome to the portal"
    )
  end
end

# config.action_mailer.delivery_method = :paubox
UserMailer.with(user: current_user).welcome_email.deliver_now
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
FAQ

Frequently asked questions

Everything you need to know about sending HIPAA compliant email with Rails.

Does Paubox work with Ruby on Rails?

Yes. The paubox_rails gem adds Paubox to ActionMailer, so you send HIPAA compliant email the standard Rails way.

How do I install the Paubox Rails gem?

Add paubox_rails to your Gemfile, then configure your Paubox API credentials in an initializer. See the Rails quickstart for the full setup.

How do I send HIPAA compliant email in Rails?

Configure ActionMailer to use Paubox, build your mailer as usual, and call deliver. Most teams send their first message in minutes. See the Rails quickstart for a complete example.

Does it work with ActionMailer?

Yes. The paubox_rails gem is built on ActionMailer, so your existing mailers and views work without rewriting them.

Is the Paubox Rails gem HIPAA compliant?

Yes. Every plan includes a signed business associate agreement (BAA) and enforces transport layer security (TLS) 1.2 or higher by default, so messages are compliant out of the box.

Is a BAA included?

Yes. A business associate agreement (BAA) comes with every plan, including the free tier, so you can send protected health information (PHI) from your Rails app without signing a separate agreement.

Can I send bulk and templated email from Rails?

Yes. The underlying API supports single sends, bulk sends, and reusable dynamic templates. Store a personalized template once and render it at send time with per-recipient values.

What does it cost, and is there a free tier?

You can send 300 emails per month for free, BAA included. Paid plans scale from there to millions of messages. See the pricing page for current tiers.

How is this different from configuring ActionMailer with my own SMTP server?

You still send through ActionMailer, but paubox_rails routes delivery through Paubox's HIPAA compliant infrastructure and includes a BAA. A self-managed SMTP server is not HIPAA compliant unless you build and certify that yourself.

Send 300 emails per month, free

Integrate HIPAA compliant email in minutes. Easy for recipients to read, available in 10 SDK languages.