Domains are the foundation of your email infrastructure in Lettr. When you send emails through Lettr, email providers like Gmail and Outlook verify that you’re authorized to send on behalf of your domain. Without proper domain configuration, your emails may be rejected or filtered to spam folders. Lettr uses DNS records to establish this authorization. By adding specific records to your domain’s DNS settings, you prove ownership and grant Lettr permission to send, track, and receive emails on your behalf. This process, called domain verification, enables email authentication protocols like SPF, DKIM, and DMARC that are now required by major email providers. Depending on your needs, you can configure different domain types for different purposes. Most users start with a sending domain to authenticate outbound emails, then add tracking and storage domains to maintain brand consistency across all email components.Documentation Index
Fetch the complete documentation index at: https://docs.lettr.com/llms.txt
Use this file to discover all available pages before exploring further.
Domain Types
Lettr supports four types of domains, each serving a specific purpose:| Domain Type | Purpose | Key Features |
|---|---|---|
| Sending Domain | Send emails from your domain | SPF, DKIM, DMARC authentication |
| Tracking Domain | Custom tracking links and pixels | HTTPS with auto-provisioned SSL |
| Inbound Domain | Receive emails at your domain | MX record configuration |
| Storage Domain | Host email assets and content | Custom CDN for images and files |
Why Verify Domains?
Domain verification establishes your identity as a legitimate sender:- Inbox placement — Properly authenticated emails pass SPF and DKIM checks, which is the primary signal email providers use to decide whether to deliver your message to the inbox or filter it to spam
- Brand recognition — Send from your own domain rather than a shared one, reinforcing your brand with every email
- Compliance — Major email providers — including Google and Yahoo — now require SPF, DKIM, and DMARC authentication for bulk senders
- Spoofing protection — Domain authentication lets receiving servers reject forged messages that claim to come from your domain
Quick Start
Add Domain via API
Register a new sending domain withPOST /domains. The request body contains only the domain name:
Create a sending domain:
Required DNS Records
For a basic sending domain setup, you’ll need these DNS records:| Type | Name | Value | Purpose |
|---|---|---|---|
| TXT | {selector}._domainkey | v=DKIM1; k=rsa; h=sha256; p=... | DKIM signing |
| TXT | _dmarc | v=DMARC1; p=none; rua=mailto:dmarc@example.com | DMARC policy |
| CNAME | @ (root domain) | sparkpostmail.com | Domain verification |
The DKIM selector and public key are unique to your domain and will be provided when you add your domain. Copy them exactly as shown.
Domain Status
Each domain has an approval status that determines whether you can send emails:| Status | Description |
|---|---|
pending | Domain awaiting review |
approved | Domain approved for sending |
blocked | Domain blocked from sending |
valid, unverified, invalid, missing, not_applicable).
Check domain status via API:
Domain Approval
When you add a new sending domain, Lettr automatically evaluates it through a scoring system. Each domain starts at 100 points, with deductions for risk factors like very new registration, uncommon TLDs, or suspicious naming patterns. Domains scoring 50 or above are approved automatically. The scoring evaluates:- Domain age — Older, established domains score higher (2+ years is ideal)
- Domain characteristics — Standard TLDs and conventional naming patterns
- Active website — AI-powered analysis of website legitimacy and content quality
Learn More
Sending Domains
Configure domains for sending emails with SPF, DKIM, and DMARC
Tracking Domains
Set up custom domains for click and open tracking
Inbound Domains
Receive emails at your domain
Storage Domains
Host email assets on your own domain
DMARC
Protect your domain with DMARC policies
BIMI
Display your logo in email clients
Domain Approval
How domain scoring and approval works
Domain Connect
Automatic DNS setup for Cloudflare domains