Skip to main content
When you add a domain to Dreamlit, you can configure workflows that send emails from your custom domain. To set this up, you’ll need access to your domain’s DNS settings so that you can add a few essential records (e.g., DKIM, SPF). By verifying these records, you signal to email providers like Gmail or Outlook that the emails coming from your domain via your Dreamlit workflows are indeed legitimate and reduce the likelihood of messages being marked as spam.
You don’t need to configure a domain to start using Dreamlit. You can still setup internal workflows with email steps that send you or your team emails from a Dreamlit-provided domain.

Setup

Configuring an email domain

Adding and verifying your domain in Dreamlit

1

1. Add domain in Dreamlit

  • In SettingsEmail Domains, click + Add domain.
  • Enter your domain, e.g. mail.mydomain.com. It’s recommended to use a subdomain of your main domain.
  • Dreamlit will generate several DNS records required for verification and present them in the next screen.
2

2. Update DNS records with your provider

Copy the provided DNS records from Dreamlit and add them to your DNS host (e.g. Namecheap, Cloudflare, GoDaddy).
  1. Go to the DNS tab in your Cloudflare dashboard.
  2. Add a new record for each entry shown in Dreamlit:
    • Type: CNAME or TXT (depending on the record)
    • Name: Provided by Dreamlit
    • Value: Provided by Dreamlit
  3. Save your changes and wait for propagation.
Important for Cloudflare users: When adding email-related DNS records (SPF, DKIM, DMARC, MX, and CNAME records), select ‘DNS Only’ (gray cloud icon) and not proxied. The Cloudflare proxy must be bypassed for these records to function properly.
  1. In GoDaddy, open the DNS Management page.
  2. Click Add under “Records.”
  3. Enter the record details from Dreamlit, including Host (Name) and Value.
  4. Save the record and wait for DNS propagation.
  1. Navigate to Domain ListManageAdvanced DNS.
  2. Add each Dreamlit record. Ensure the Host and Value fields match exactly.
  3. Wait for changes to propagate (usually a few minutes to a few hours).
3

3. Verify domain in Dreamlit

  • Once you’ve added all the required DNS records, return to Dreamlit’s Email Domains page.
  • Click Verify next to your domain.
  • After DNS propagation, you should see a green check or a success message confirming your domain is verified.
    If you’d like to confirm your DNS records are set up correctly, you can use these Terminal commands to check each record type.Or you can use some free DNS lookup service such as MXToolbox to see the current records for your domain or subdomain.

    macOS / Linux

    • Check MX records:
    dig MX mail.mydomain.com
    
    • Check SPF record (TXT record on your domain):
    dig TXT mail.mydomain.com
    
    • Check DMARC record (TXT record on _dmarc subdomain):
    dig TXT _dmarc.mail.mydomain.com
    
    • Check DKIM records (CNAME records on _domainkey subdomains):
    dig CNAME dk1._domainkey.mail.mydomain.com
    dig CNAME dk2._domainkey.mail.mydomain.com
    dig CNAME dk3._domainkey.mail.mydomain.com
    
    Replace mail.mydomain.com with your actual domain (e.g., mail.dreamlit.ai).
    • Check MX records:
    nslookup -type=mx mail.mydomain.com
    
    • Check SPF record (TXT record on your domain):
    nslookup -type=txt mail.mydomain.com
    
    • Check DMARC record (TXT record on _dmarc subdomain):
    nslookup -type=txt _dmarc.mail.mydomain.com
    
    • Check DKIM records (CNAME records on _domainkey subdomains):
    nslookup -type=cname dk1._domainkey.mail.mydomain.com
    nslookup -type=cname dk2._domainkey.mail.mydomain.com
    nslookup -type=cname dk3._domainkey.mail.mydomain.com
    
    Replace mail.mydomain.com with your actual domain.
4

4. Start sending from your domain

  • In your email steps, set the From Address to your newly verified domain (e.g. [email protected]).
  • Dreamlit will authenticate messages behind the scenes, improving deliverability.
On your end, these steps should only take a few minutes. But DNS changes can sometimes take up to 24-48 hours to fully propagate. If verification fails immediately, wait a bit and try again.

Why we want you to add these records

We want you to have the best possible email deliverability. The records you add serve different purposes:
  • DKIM (DomainKeys Identified Mail): Attaches a cryptographic signature to your outgoing emails, proving they originated from your domain and haven’t been tampered with.
  • SPF (Sender Policy Framework): Specifies which mail servers are allowed to send emails on behalf of your domain. This helps receiving servers know legitimate senders.
  • DMARC (Domain-based Message Authentication, Reporting, and Conformance): Builds on SPF and DKIM to give you greater control over how ISPs handle unauthenticated mail from your domain.

Under the hood

Dreamlit manages IP reputation and deliverability best practices on your behalf. Once your domain is verified:
  • : We gradually ramp up sending patterns to maintain a healthy IP reputation.
  • Engagement tracking: Automatic logging of opens, clicks, bounces, and unsubscribes.
  • Personalization: Add user names, dynamic content, or advanced logic in your workflow steps.
For additional tips on keeping your emails out of spam, check out our Deliverability guide.
You’re all set! Domain-verified email sends are an excellent step toward building trust and ensuring your notifications reach the inbox.