```meta
title: Relay — email for people who write code
description: An email API with logs you can read, domains verified in minutes and templates written in markdown.
image: /demo/layout/app-dark.svg
```

:::nav sticky:top surface:default
**Relay**
---
- [Product](#produto)
- [Docs](./docs)
- [Pricing](#precos)
---
[Sign in](#precos)
---
[Start free](#precos)
:::

:::hero height:auto width:wide align:left motion:fade
:::split ratio:1/2 align:center
# Email for people who write code

The API that lands in the inbox, with logs you can read and domains verified in minutes.

:::inline
[Start free](#precos)
---
[Read the docs](./docs)
:::
---
```ts
import { Relay } from "relay";

const relay = new Relay(process.env.RELAY_KEY);

await relay.emails.send({
  from: "Ana <ana@acme.dev>",
  to: "customer@example.com",
  subject: "Your order shipped",
  markdown: "# On its way\nOrder **#4821** is on its way.",
});
```
:::
:::

:::section width:wide space:2 align:center
Teams that trust Relay with what matters

:::marquee speed:slow
![Northwind](/demo/layout/logo-northwind.svg)
---
![Acme](/demo/layout/logo-acme.svg)
---
![Globex](/demo/layout/logo-globex.svg)
---
![Initech](/demo/layout/logo-initech.svg)
---
![Umbrella](/demo/layout/logo-umbrella.svg)
---
![Hooli](/demo/layout/logo-hooli.svg)
:::
:::

:::section width:wide space:5 motion:rise
## Everything that happens to every message {#produto}

Every send has a timeline: accepted, delivered, opened, bounced. No support ticket to find out.

:::cover ratio:16/9 frame:browser shadow:lifted
![Relay's sending dashboard](/demo/layout/app-dark.svg)
:::
:::

:::section width:wide space:4
:::grid min:16 cols:3 items:card motion:rise
### Domains in minutes
SPF, DKIM and DMARC checked for you, with the exact record to paste into your DNS.
---
### Signed webhooks
Delivered, opened, clicked, bounced. Every event arrives signed, and retried.
---
### Templates in markdown
Write the email like you write a README. The Outlook-proof HTML is on us.
---
### Test mode
A key that pretends to send, so your test suite emails nobody.
---
### Priority queues
Password resets and receipts go ahead of the newsletter.
---
### Regions
São Paulo, Virginia and Frankfurt. Data stays where your customers are.
:::
:::

:::section width:wide surface:soft space:5
:::split ratio:1/2 side:right align:center
## Deliverability you can read

Delivery rate per day, per domain and per template, without exporting a spreadsheet.

- **99.3%** lands in the inbox
- **1.8 s** from send to delivery, median
- **0** messages lost since launch
---
```@chart type:line
title: Delivered per day (thousands)
---
day,delivered
Mon,182
Tue,204
Wed,219
Thu,236
Fri,251
Sat,120
Sun,98
```
:::
:::

:::section width:wide space:4
:::columns items:stat motion:rise
### 3 bn
messages sent this year
---
### 99.99%
API uptime
---
### 14k
teams on Relay
:::
:::

:::section width:wide space:5 align:center
## Pricing that follows your volume {#precos}

Start free. Pay when the volume asks for it.
:::

:::section width:wide space:2
:::grid min:18 align:stretch motion:rise
:::card tone:soft border:line space:3
### Free
**$0** a month

- 3k emails a month
- 1 domain
- 1 day of logs

:::inline
[Start](#precos)
:::
:::
---
:::card tone:accent shadow:lifted space:3
### Pro
**$20** a month

- 50k emails a month
- 10 domains
- 30 days of logs, and webhooks

:::inline
[Go Pro](#precos)
:::
:::
---
:::card tone:soft border:line space:3
### Scale
**Custom**

- No volume cap
- Dedicated IP
- Support with a contractual SLA

:::inline
[Talk to us](#precos)
:::
:::
:::
:::

:::section width:normal space:5
## Frequently asked questions {#perguntas}

```@faq
Do I need a card to start?
No. The free plan asks for no card and does not expire.
---
Can I move from another provider?
Yes. The API takes the same message format, and your HTML templates keep working.
---
What happens if I go over my limit?
Sending continues. We bill the overage at the end of the month, and tell you first.
---
Where is my data?
In the region you choose when you create the project.
```
:::

:::hero height:auto surface:inverse width:wide
## Send your first email today

:::inline justify:center
[Create a key](#precos)
---
[See the examples](#produto)
:::
:::

:::footer
**Relay** — email for people who write code. A flows.md example: people, companies and numbers are fictional, and the whole page is markdown.

`languages`
---
**Product**
- [Features](#produto)
- [Docs](./docs)
- [Pricing](#precos)
- [FAQ](#perguntas)
---
**flows.md**
- [Showcase](/@docs/showcase)
- [Components](/@docs/componentes)
- [Reference](/@docs/components)
:::

:::banner position:corner dismiss:none surface:default id:cookies
**Cookies.** Only the essentials, and statistics if you allow them.

```@consent link:/privacidade accept:"Accept" reject:"Essentials only"
stats | Usage statistics | Counts the most-read pages without identifying you.
```
:::
