Send Email with
Elixir
Send email from Elixir and Phoenix with an OTP-friendly client for reliable, concurrent delivery.
Send your first email
Install the SDK, set your API key, and call emails.send.
{:reloop, "~> 0.1.0"}client = Reloop.client(api_key: System.get_env("RELOOP_API_KEY"))
Reloop.Emails.send(client, %{
from: "Acme <onboarding@yourdomain.com>",
to: ["delivered@yourdomain.com"],
subject: "Hello from Elixir",
html: "<strong>It works!</strong>"
})
|> case do
{:ok, email} -> IO.puts("Email sent: " <> email.id)
{:error, reason} -> IO.inspect(reason)
endBuilt for Elixir developers
Idiomatic Elixir client
Follows conventions your team already uses—clear types, predictable errors, and examples that match the official quickstart.
Fast delivery
Messages route through Reloop's edge network for sub-second handoffs and high inbox placement.
Events & webhooks
Track delivered, bounced, and opened events from your Elixir app with signed webhook payloads.
Production ready
API keys, domain verification, rate limits, and observability—everything you need before going live.
Three steps with Elixir
Install
Run {:reloop, "~> 0.1.0"} in your project.
Authenticate
Add your Reloop API key from the dashboard and verify a sending domain.
Start sending with Elixir
Get your API key and explore framework-specific tutorials in our documentation.