Skip to main content

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.

The Paubox Rust SDK is the official async Rust client library for the Paubox Email API and Paubox Forms. All methods are async and return Result<T, PauboxError>, making them composable with any Tokio-based application.
# Cargo.toml
[dependencies]
paubox = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }

What you can do

  • Send encrypted, HIPAA-compliant email to one or more recipients
  • Add CC, BCC, attachments, and HTML or plain-text content
  • Track delivery status and open engagement per recipient
  • Retrieve Paubox Form schemas and submit form responses with file attachments

Requirements

  • Rust 1.75 or later
  • Tokio async runtime

Feature flags

Both features are enabled by default. Disable the ones you don’t need to reduce compile times:
# Email API only
paubox = { version = "0.1", default-features = false, features = ["email"] }

# Forms API only
paubox = { version = "0.1", default-features = false, features = ["forms"] }
FeatureWhat it includes
emailPauboxClient, Message, Attachment, SendResponse, DispositionResponse
formsFormsClient, Form, FormSubmission, FormAttachment

Get started

Quickstart

Configure credentials and send your first email in minutes.

Authentication

Three ways to supply your API key and username.

Email client

Full reference for building messages, sending email, and tracking delivery.

Forms client

Retrieve form schemas and submit responses.