---
title: Quickstart · Rust
description: Send transactional email with Envimaily in Rust. Copy-paste HTTP example.
locale: en
---

# Quickstart · Rust

Send transactional email through Envimaily's HTTP API (`https://api.envimaily.com`) with **Rust**.

## 1. Account & key

1. Sign up at [https://app.envimaily.com/dev/signup](https://app.envimaily.com/dev/signup)
2. Create an `em_` key under **API keys**
3. Copy the token once — it is not shown again

## 2. Example

```rust
// reqwest
let client = reqwest::Client::new();
let res = client
  .post("https://api.envimaily.com/v1/emails")
  .bearer_auth("em_YOUR_KEY")
  .json(&serde_json::json!({
    "from": "onboarding@envimaily.com",
    "to": ["you@example.com"],
    "subject": "Hello from Rust",
    "html": "<p>It works.</p>"
  }))
  .send()
  .await?;
println!("{}", res.text().await?);
```

## 3. Without a verified domain

Use the shared test sender `onboarding@envimaily.com` and send only to the account owner email. After SPF/DKIM verification, send from your domain.

## 4. Limits

| Plan | Month | Day |
|------|-------|-----|
| Dev Free | 1,000 | 100 |
| Dev Pro | 50,000 | 5,000 |

Next: [Domains & DNS](/docs/domains) · [Emails API](/docs/api/emails) · [Migrate from Resend](/docs/migrate/resend)
