> ## Documentation Index
> Fetch the complete documentation index at: https://docs.result.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Email

> Transactional email with managed delivery - no SMTP setup.

```ts theme={"dark"}
const { error } = await backend.emails.send({
  to: "user@example.com",           // or an array, max 50
  subject: "Your receipt",
  html: "<h1>Thanks!</h1>",
  from: "Acme Billing",             // sender NAME, not an address
  replyTo: "support@acme.com",      // optional
});
```

Delivery is managed - it works out of the box.

<Warning>
  Sends work with the publishable key. Prefer sending from server code or a
  [serverless function](/sdk/functions) so you control what triggers an email.
</Warning>
