GoHighLevel Mailgun Setup: Step-by-Step + Fix Emails Going to Spam
If your GoHighLevel emails land in spam, the problem is almost never the email itself. It is the setup behind it. A GoHighLevel Mailgun setup done properly: verified domain, correct DNS records, the right API key, is what tells Gmail and Outlook your mail is legitimate. Done wrong, even a perfect campaign goes straight to the spam folder.
This guide walks through the full GoHighLevel Mailgun setup in 7 steps, both ways to connect it, what it costs, and how to fix emails going to spam once it is connected.
Do you still need Mailgun for GoHighLevel in 2026?
Short answer: most new agencies do not. Every sub-account in GoHighLevel now sends through LC Email by default, and HighLevel’s own documentation says most new agencies will not need Mailgun. Mailgun is still fully supported, HighLevel updated its Mailgun connection guide in September 2026, but it is now an advanced option, not the default.
So when is a GoHighLevel Mailgun setup worth it? Three cases:
- You already run Mailgun and want one sending setup across tools.
- You send more than about 50,000 emails a month and want Mailgun’s logs, routes and dedicated IPs.
- You need features LC Email does not have, such as inbound email routing or detailed event logs.
If none of those apply, stay on LC Email and set up a dedicated sending domain there instead. It costs $0.675 per 1,000 emails (that is $6.75 per 10,000) and it is also cheaper than Mailgun Basic. To go deeper on sending generally, see our GoHighLevel email marketing guide.
What you need before you start
Get these four things ready first. Every failed GoHighLevel Mailgun setup we see is missing one of them, and the fix is always one of them too.
- An active Mailgun account. Free plan works for testing: 100 emails a day.
- A sending domain or subdomain you control, such as mg.yourdomain.com.
- Access to your DNS records, usually in your domain registrar.
- A HighLevel agency account if you are connecting Mailgun at the agency level.
One rule before anything else: your Mailgun domain must be created in the US region. HighLevel only supports Mailgun domains in the US region. A domain created in the EU region will never appear in the HighLevel dropdown.
Step 1: Add and verify your sending domain in Mailgun
The first step of any GoHighLevel Mailgun setup is adding and verifying your sending domain in Mailgun. Add your sending domain, mg.yourdomain.com is the usual choice, and Mailgun will give you the DNS records to add.
Your DNS record checklist
| Record | Type | Host | Value |
|---|---|---|---|
| SPF | TXT | mg (or your subdomain prefix) | v=spf1 include:mailgun.org ~all |
| DKIM | TXT | Unique value ending in ._domainkey.mg | Unique key, copy it from your own Mailgun screen |
| MX 1 | MX | mg | 10 mxa.mailgun.org |
| MX 2 | MX | mg | 10 mxb.mailgun.org |
| Tracking | CNAME | email.mg | mailgun.org |
Two things to get right here. First, the DKIM value is unique to your domain. Never copy one from a guide, a video or someone else’s screenshot. Use only the value Mailgun shows for your domain. Second, if your DNS provider merges multiple TXT records at the same host into one, combine your SPF entries into a single record instead of creating two.
DNS changes usually take effect within minutes to a few hours. Allow up to 48 hours for full propagation, then check the Mailgun domain status again. Only proceed when Mailgun shows the domain as verified. An unverified domain will not appear in HighLevel.
Step 2: Get your Private API key from Mailgun
In Mailgun, go to Settings → API Security, then find Private API key. If one is already there, use it. If not, generate a new key and copy it straight into HighLevel. This is the key HighLevel uses: not the public key, and not an SMTP password.
Two rules for the key:
- It must have sending permissions for your verified domain. A key without sending rights will fail silently.
- It is unique to your account. Never share a Private API key in a screenshot, a ticket or a chat.
If you are unsure whether your key is the right one, generate a fresh key. A new key takes 30 seconds and removes all doubt about copy-paste errors.
Step 3: Connect Mailgun at the agency level (best for most agencies)
This is the route agencies use. Connect Mailgun once at the agency level, and every sub-account sends through it by default.
- In HighLevel, open the agency account and go to Settings → Email Services.
- Choose Mailgun as the provider.
- Enter your Mailgun domain, such as mg.yourdomain.com.
- Enter your Private API key.
- Select the US region.
- Save and set it as the default provider.
That is the whole agency-level setup, and for most agencies it is also the whole job. For the official steps, see HighLevel’s Mailgun connection guide. If your domain does not appear in the dropdown, it is not fully verified in Mailgun, go back to Step 1 and check your DNS records. If the save fails but the domain is verified, your API key lacks sending rights, generate a new key with the right permissions.
Step 4: Connect Mailgun for one sub-account (SMTP)
If you only want Mailgun for one client, or you use a different Mailgun account per client, connect it at the sub-account level with SMTP. It takes a few more steps than the agency-level connection, and the logs are in the sub-account, not the agency.
- In the sub-account, go to Settings → Email Services.
- Choose SMTP as the provider.
- Choose to add a custom SMTP provider.
- Enter the SMTP details:
| Field | Value for Mailgun |
|---|---|
| SMTP host | smtp.mailgun.org |
| Port | 587 |
| Username | Your Mailgun SMTP username |
| Password | Your Mailgun SMTP password |
- Enter the From name and From email you want recipients to see.
- Save the SMTP provider and set it as the active sender for this sub-account.
- Send a test email from that sub-account.
The SMTP route works, but note the trade-off: custom SMTP turns off the tracking and event data that HighLevel provides through its own Mailgun integration. If you care about open and click tracking inside HighLevel, connect Mailgun at the agency level instead.
Step 5: Send a test email and check where it lands
Do not skip this step. A Mailgun connection that looks right can still fail, and a test email finds it before a real campaign does. Send a test email from HighLevel to an address you control: ideally a Gmail address and an Outlook address.
Check three things:
- It arrives in the inbox, not spam, on both.
- The sender shows your domain, not a Mailgun shared domain.
- Mailgun’s logs show the message as Delivered.
If it lands in spam, the problem is almost never the Mailgun connection itself. Work through the spam fixes in the next section first, resending to a cold list will only make the reputation worse.
Step 6: Warm up your sending domain before you scale
A brand-new sending domain has no reputation. If you send your whole list on day one, Gmail and Outlook will treat it as spam, and the domain’s reputation will be hard to repair. Warm it up instead:
- Week 1: send only to your most engaged contacts: people who open and reply.
- Week 2: add your next most engaged segment. If delivery holds, double the volume.
- Keep climbing until you reach your normal volume.
Watch Mailgun’s logs and your bounce and complaint rates while you warm up. Bounces, spam complaints and drops are the early warnings, if they climb, stop and clean the list before you send again.
Fix emails going to spam after a GoHighLevel Mailgun setup
If mail still goes to spam after a correct Mailgun setup, the problem is the domain, the list, or both. Check them in this order:
| Symptom | Likely cause | Fix |
|---|---|---|
| Mail lands in spam | Missing or invalid DMARC | Add a DMARC record: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com |
| Mail lands in spam | New domain, no warm-up | Warm it up over 3–4 weeks (Step 6) |
| Mail lands in spam | Stale or bought list | Send only to people who asked for your mail |
| Mail does not arrive | Domain not verified | Finish DNS in Step 1 and wait for Mailgun to show “Active” |
| Mail does not arrive | Wrong API key | Generate a new Private API key with sending rights |
| Mail bounces | Bad addresses | Remove hard bounces and never re-add them |
Two habits prevent most spam problems. First, never send to a bought list. It is the single fastest way to destroy a sending domain, and a bought list will get your domain blocked faster than any technical mistake. Second, keep your list clean: remove unsubscribes, remove hard bounces, and never send to people who never asked for your mail.
Sender registration matters for SMS too, if you also text your customers, complete your A2P registration so your messages stay deliverable. If your GoHighLevel SMS is not sending either, the fix is usually the same kind of chain: registration, content and reputation.
What does a GoHighLevel Mailgun setup cost?
Mailgun’s prices are public and change often, so confirm them on Mailgun’s pricing page before you commit. Mailgun pricing is based on the number of emails you send per month, not the number of contacts.
| Plan | Price | Emails included | Log retention |
|---|---|---|---|
| Free | $0 | 100 per day | 1 day |
| Basic | $15/month | 10,000 per month | 1 day |
| Foundation | $35/month | 50,000 per month | 5 days |
| Scale | $90/month | 100,000 per month | 30 days |
Foundation and Scale add a free month when you start, and Foundation gives you a dedicated IP. For most agencies, that is the point where Mailgun starts to make sense, because dedicated IPs give you control over your own sending reputation.
Worked example: an agency sending 12,000 emails a month:
- LC Email: 12 × $0.675 = $8.10 per month.
- Mailgun Basic: $15 base (includes 10,000 emails) plus overage for 2,000 emails at $1.80 per 1,000 = $3.60, total $18.60 per month.
- Mailgun Foundation: $35.00 per month (first month free).
At 12,000 emails a month, LC Email is the cheapest option, less than half the price of Mailgun Basic. Now the same agency at 50,000 emails a month:
- LC Email: 50 × $0.675 = $33.75 per month.
- Mailgun Foundation: $35.00 per month (first month free).
At 50,000 emails the two are effectively the same price, and the choice is no longer about cost. Choose Mailgun if you want its logs, routes and dedicated IP, and choose LC Email if you want the simplest setup. For the wider picture, see the cost to set up GoHighLevel before you budget for email.
Frequently asked questions
Do I still need Mailgun for GoHighLevel in 2026?
No, not for most agencies. LC Email is the default for new sub-accounts, and it is also cheaper than Mailgun Basic up to about 50,000 emails a month. Mailgun is still supported, the connection guide was updated in September 2026, and it makes sense only when you need its logs, routes or dedicated IPs.
Where do I find my Mailgun API key?
In Mailgun, go to Settings → API Security, then find Private API key. Use the Private API key, not the public key, and make sure it has sending permissions for your verified domain.
Why does my domain not show in HighLevel after I connect Mailgun?
Only fully verified domains appear. If Mailgun still shows the domain as unverified, the DNS records are wrong or have not propagated yet. If the domain is in the EU region, it will never appear, because HighLevel only supports the US region.
Should I send from my root domain or a subdomain?
Use a subdomain, such as mg.yourdomain.com. It keeps your main domain’s reputation separate, and it is easier to fix if the sending subdomain ever has a problem.
How long does Mailgun domain verification take?
Usually minutes to a few hours. Allow up to 48 hours for full DNS propagation before you conclude the records are wrong.
Why are my GoHighLevel emails going to spam after Mailgun setup?
The most common causes are a missing DMARC record, a domain that was never warmed up, or a stale list. Fix DMARC first, warm the domain over 3–4 weeks, and send only to people who asked for your mail.
Get your emails out of spam
A GoHighLevel Mailgun setup is a 30-minute job when the domain, DNS and API key are ready before you start, and a week of frustration when they are not. Verify the domain, use the Private API key, connect it at the agency level, send a test, and warm it up before you scale.
If your emails are already going to spam and you want it fixed properly, our team can audit the whole setup: domain, DNS, Mailgun configuration and sending reputation, and fix it for you. Book a free account audit and we will tell you exactly what is broken, or you can hire a GoHighLevel expert, or explore our GoHighLevel setup service.