SDKs & tools

Official libraries for nine languages, a CLI and an MCP server. Every one speaks the same JSON API. Because the base URL is configurable, the exact same code runs against the CamelMailer cloud or your self-hosted instance.

Official SDKs

Each SDK reads a server API key (header X-Server-API-Key) and defaults to the cloud at https://app.camelmailer.com. Every one surfaces the API's stable error codes.

TypeScript-first, a { data, error } result on every call, zero runtime dependencies.

npm install camelmailer

Fully typed, sync and async clients with identical signatures, one dependency.

pip install camelmailer

A clean object client for PHP 8.1+, PSR-18 HTTP so you can stub it in tests.

composer require camelmailer/camelmailer

A native MAIL_MAILER=camelmailer transport for Mailables and Notifications, plus a facade.

composer require camelmailer/camelmailer-laravel

Zero dependencies, stdlib only, context-aware. Go 1.21+.

go get github.com/camelmailer/camelmailer-go

A plain Ruby client and a Rails :camelmailer ActionMailer delivery method.

gem install camelmailer

Async-first (reqwest + rustls), a typed builder API, optional blocking client.

cargo add camelmailer-rs

Java 17+, a fluent builder API, HTTP via the JDK’s java.net.http.

com.camelmailer:camelmailer-java

A modern async client with first-class ASP.NET Core dependency injection.

dotnet add package CamelMailer

Tools

Send and inspect transactional email from your terminal, with --json for piping into jq.

npm install -g camelmailer-cli

Nine tools that let Claude and other AI assistants send and inspect email.

npx -y camelmailer-mcp

Examples

End-to-end sample apps on GitHub. Clone one, add a key, send.