Send Email with
Rust

Send email from Rust with an async-first crate built for performance-critical applications.

Send your first email

Install the SDK, set your API key, and call emails.send.

cargo add reloop-email
send_email.rust
use reloop_email::ReloopEmail;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let reloop = ReloopEmail::new(std::env::var("RELOOP_API_KEY")?, None);

    let email = reloop
        .emails()
        .send(reloop_email::SendEmailParams {
            from: "Acme <onboarding@yourdomain.com>".into(),
            to: vec!["delivered@yourdomain.com".into()],
            subject: "Hello from Rust".into(),
            html: Some("<strong>It works!</strong>".into()),
            ..Default::default()
        })
        .await?;

    println!("Email sent: {}", email.id);
    Ok(())
}

Built for Rust developers

Idiomatic Rust client

Follows conventions your team already uses—clear types, predictable errors, and examples that match the official quickstart.

TokioAxumType-safe

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 Rust app with signed webhook payloads.

Production ready

API keys, domain verification, rate limits, and observability—everything you need before going live.

Three steps with Rust

1

Install

Run cargo add reloop-email in your project.

2

Authenticate

Add your Reloop API key from the dashboard and verify a sending domain.

3

Send

Copy the sample above or follow the full Rust guide.

Start sending with Rust

Get your API key and explore framework-specific tutorials in our documentation.

← All languages