Prerequisites
Before setting up inbound email, ensure you have:- A verified Lettr account
- Access to your domain’s DNS settings
- A webhook endpoint ready to receive inbound email events (recommended)
Step-by-Step Setup
1
Add an Inbound Domain
Navigate to Domains → Inbound in your dashboard and click Add Domain. Enter the domain or subdomain you want to use for receiving emails.
2
Configure MX Records
Add the provided MX records to your domain’s DNS settings. These records tell email servers to route mail to Lettr.
3
Verify MX Records
Click Verify in the dashboard to confirm your MX records are properly configured.
4
Set Up Webhooks
Configure a webhook endpoint to receive notifications when emails arrive.
Adding an Inbound Domain
- Go to Domains → Inbound
- Click Add Domain
- Enter your domain (e.g.,
mail.example.com) - Click Create
unverified until DNS is configured).
Inbound domain management is available through the Lettr dashboard. There is no public API endpoint for creating or managing inbound domains.
DNS Configuration
Add these MX records to your domain’s DNS settings:If you’re using a subdomain like
mail.example.com, set the Host/Name field to mail instead of @.Understanding MX Priority
All three MX records use the same priority (10), which provides load balancing:
With equal priority, sending servers distribute email across all three servers. If one is unavailable, the others handle delivery automatically.
Verifying Your Domain
After adding MX records, verify they’re properly configured:- Go to Domains → Inbound
- Find your domain and click Verify
- Wait for the verification to complete
unverified to valid, confirming your MX records are correctly configured.
Domain Status
Using Subdomains vs Root Domain
We recommend using a subdomain for inbound email:DNS Propagation
DNS changes can take time to propagate:Next Steps
Webhooks
Receive notifications when emails arrive
Routing
Route emails to different handlers
Attachments
Handle incoming attachments
Inbound Domains
Learn more about domain configuration