Welcome to BotSailor Help! Just use the email OTP to sign in and track your tickets. Password login isn’t needed anymore.
If you're using Mailgun API or SMTP to send emails through BotSailor, you must first verify your domain in Mailgun to ensure proper email deliverability and avoid spam filters.
This guide walks you through verifying your domain inside Mailgun so you can send authenticated emails via BotSailor’s chatbot flow using your Mailgun account.
🔔 Note: This is for end users of BotSailor. You can only send instant transactional emails via chatbot flows after the user provides their email in a form or input field.
Verifying your domain in Mailgun ensures:
✅ High deliverability (your emails don’t go to spam)
✅ Your sender address (like [email protected]) is trusted
✅ SPF and DKIM records are correctly aligned
✅ BotSailor email flows send emails securely using your domain identity
Go to 👉 Mailgun and log into your account.
After adding your domain, Mailgun will show you the required DNS records. These typically include:
✅ SPF (TXT Record)
✅ DKIM (TXT Record)
✅ MX Records
✅ Tracking (CNAME) – Optional but useful for open/click tracking
Now go to your domain’s DNS provider (e.g., Cloudflare, Namecheap, GoDaddy, Hostinger) and add the records exactly as shown in Mailgun.
Here’s what to add:
Value: Something like
ini
CopyEdit
v=spf1 include:mailgun.org ~all
CNAME
Name: mg or email
Value: mailgun.org
DNS changes can take up to 24 hours. You can speed it up by checking propagation via: DNS Checker
Return to Mailgun → Sending → Domains and click your domain.
Once all records are detected, Mailgun will mark your domain as “Verified” and “Active”.
✅ You can now use this domain to send emails using Mailgun API or SMTP in BotSailor.
To send email using mailgun follow the article: Connecting Mailgun to BotSailor for Reliable Email Marketing
With Mailgun domain verification complete, you now enjoy fast, secure, and branded email sending from BotSailor flows — whether using SMTP or Mailgun API.
Why do I need to verify my domain in Mailgun before using it with BotSailor?
Verifying your domain ensures emails sent from BotSailor using Mailgun are trusted, don’t go to spam, and pass authentication checks like SPF and DKIM.
Can I use my root domain (e.g., yourdomain.com) instead of a subdomain like mg.yourdomain.com?
Yes, you can — but Mailgun strongly recommends using a subdomain (like mg.yourdomain.com) to separate email traffic and protect your main domain’s reputation.
How long does Mailgun domain verification take?
Once you add the correct DNS records, it usually takes a few minutes to a few hours. In some cases, it can take up to 24 hours for DNS propagation.
Where do I add the DNS records for verification?
You must log into your domain registrar or DNS provider (e.g., Cloudflare, Namecheap, GoDaddy, Hostinger) and add the SPF, DKIM, and MX records provided by Mailgun.
How do I know my domain is verified in Mailgun?
After DNS propagation, go to Mailgun → Sending → Domains. If all records are detected, your domain will be marked as “Verified” and “Active”.
What happens if I skip domain verification and try to send emails from BotSailor?
Your emails may fail to deliver or end up in spam folders. Mailgun may also block unauthenticated sends, and BotSailor will not be able to send emails reliably.
Do I need to set up DMARC too?
DMARC is optional but recommended. It adds an extra layer of protection to ensure that only authorized services (like Mailgun) can send emails from your domain.
Can I use Mailgun’s free plan for BotSailor email flows?
Yes. Mailgun’s free plan offers a limited number of emails per month (e.g., 5,000 emails in the first month). It’s perfect for testing and small-scale transactional email needs.
Do I need to verify the domain again if I change DNS providers?
Yes. If you change your DNS hosting, you'll need to re-add the same Mailgun records in your new DNS manager and wait for them to propagate again.
What’s the difference between Mailgun SMTP and Mailgun API in BotSailor?