# Send email with Lessly Mail

## Problem

You want to send product or transactional email from your own domain, with DKIM, SPF, and DMARC set up so it reaches the inbox instead of spam.

## UI

1. In `app.lessly.com`, open the mail settings for your product.
2. Add a **sending domain** — a subdomain you control, for example `send.yourdomain.com`. Lessly returns the DNS records to publish.
3. At your DNS provider, add the records Lessly shows: the **DKIM** CNAMEs, the bounce **MX** and **SPF** records, and a **DMARC** TXT.
4. Click **Verify**. Once the DKIM records resolve, the domain goes active.
5. Send from any address at that domain.

## MCP

The same flow through the Lessly MCP server in your agent. Token scope: a key with write access to your product's mail settings.

Register the domain and read the records back:

> "Set up send.example.com as a sending domain and show me the DNS records to add."

Your agent returns the DKIM CNAMEs, a bounce MX and SPF record, and a DMARC TXT. Publish them at your DNS provider, then verify:

> "Verify send.example.com."

Once it reports verified, send:

> "Send a test email from hello@send.example.com to me@example.com, subject 'Hello', body 'It works.'"

## Verify it works

1. The domain shows status **verified**, with the DKIM records resolved.
2. Send one email to an address you can check.
3. It lands in the **Inbox**, not spam, and the message headers show **DKIM**, **SPF**, and **DMARC** all `pass`.

## Variations

**Pick a subdomain, not your apex.** Send from `send.yourdomain.com` (or `mail.`, `notifications.`) rather than `yourdomain.com` itself. Mail DNS stays isolated from the records that serve your website, so changing one never risks the other.
