> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paubox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Paubox Rails SDK

> Send HIPAA-compliant email from Rails applications using ActionMailer and the official Paubox Rails gem.

The Paubox Rails SDK (`paubox_rails`) integrates the [Paubox Email API](/email-api) directly into Rails as an ActionMailer delivery method. Your mailer classes work exactly as they do today — just point ActionMailer at Paubox and every email you send becomes encrypted and HIPAA-compliant. The gem also includes a lightweight client for the [Paubox Forms API](/forms).

```ruby theme={null}
# Gemfile
gem 'paubox_rails'
```

## What you can do

* Send encrypted, HIPAA-compliant email through standard Rails mailers and ActionMailer
* Use HTML and plain-text templates, attachments, and all standard ActionMailer features
* Deliver synchronously with `deliver_now` or asynchronously with `deliver_later`
* Retrieve Paubox Form schemas and submit form responses with file attachments

## Requirements

* Rails 4 or later
* Ruby
* Dependencies installed automatically: `actionmailer` and the `paubox` gem

## Get started

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/rails-sdk/quickstart">
    Add the gem, configure credentials, and send your first email in minutes.
  </Card>

  <Card title="Authentication" icon="key" href="/rails-sdk/authentication">
    Configure your API key and username via a Rails initializer.
  </Card>

  <Card title="Email delivery" icon="envelope" href="/rails-sdk/email-delivery">
    Full guide to sending email through ActionMailer with Paubox.
  </Card>

  <Card title="Forms client" icon="file-lines" href="/rails-sdk/forms-client">
    Retrieve form schemas and submit responses.
  </Card>
</CardGroup>
