RocketLauncher AI

Email

How to Connect Mailgun to GoHighLevel

By Marnix Geerkens. Published 2019-02-11. Updated 2026-06-02.

After setting up your custom domain in Mailgun and verifying the DNS records, connecting it to GoHighLevel takes two steps: paste your Mailgun private API key into the agency settings, then select the correct sending domain for each sub account you want to use it on.

Watch it, then build it

Get the full platform free for 30 days

That walkthrough runs on GoHighLevel. Start it free through RocketLauncher and you get 30 days instead of the usual 14, the whole platform unlocked, plus our setup help and a community of thousands of builders in 47+ countries.

30 days, not 14Full platform, nothing held backFree community and setup help

We earn a referral commission if you keep GoHighLevel after the trial. It never changes your price.

Summary. Mailgun is the sending infrastructure but GoHighLevel is where you control which account uses which domain. This tutorial picks up after DNS setup is complete and shows the exact path to wire everything together: where to find the private API key in Mailgun, where to paste it in GoHighLevel at the agency level, how to assign the sending domain to a specific sub account, and how to configure reply forwarding so inbound email comes back to the right place.

What you will learn

  • Where to find the private API key in your Mailgun account
  • How to paste the API key at the GoHighLevel agency level
  • How to assign a Mailgun domain to a specific sub account
  • How reply forwarding works and how to set the forwarding address

Steps

  1. Copy your Mailgun private API key

    Log in to Mailgun, scroll to the Private API Key section in your account settings, and copy the key. Do not use the public validation key.

  2. Paste the key in GoHighLevel agency settings

    In GoHighLevel, go to your agency account, open Settings, and click the Mailgun tab. Paste the API key into the field and tab out of it to trigger the domain list to populate.

  3. Select the sending domain at the agency level

    From the domain dropdown that appears, select the subdomain you set up in Mailgun (for example, mg.yourdomain.com). Save the settings.

  4. Switch into the sub account and set the domain

    Use the account switcher to navigate into the sub account that should use this Mailgun domain. Go to Settings and open the bulk email settings at the top. Select the Mailgun domain from the dropdown to assign it to this account.

  5. Configure the reply forwarding address

    By default, GoHighLevel forwards a copy of inbound replies to the account's company email address. If you want replies to go to a different address instead, enter it in the forwarding address field. Save to apply.

Tips

  • If the domain dropdown does not appear after pasting the API key, click out of the field and back in, or refresh the page and try again.
  • The reply forwarding feature passes inbound email back through GoHighLevel, so the platform can log the reply and trigger workflow actions like stopping a campaign.

Related tutorials

Building Emails In the HighLevel Drag & Drop Email Builder
Building Emails In the HighLevel Drag & Drop Email Builder6:23 · Email
How To Setup Mailgun Using Google Domains
How To Setup Mailgun Using Google Domains5:58 · Email
How to Resubscribe After Unsubscribing from an Email List
How to Resubscribe After Unsubscribing from an Email List2:53 · Email
How to Configure Replies in MailGun
How to Configure Replies in MailGun2:00 · Email
How To Use LC Email to Send from Multiple Domains
How To Use LC Email to Send from Multiple Domains5:01 · Email
How to Set Up Email Reply & Forwarding
How to Set Up Email Reply & Forwarding10:39 · Email

Watch it, then build it

Get the full platform free for 30 days

30 days, not 14Full platform, nothing held backFree community and setup help

Frequently asked questions

Do I need to add the API key in every sub account separately?

No, add it once at the agency level. Then select the domain inside each sub account.

What is the difference between the public and private API key in Mailgun?

The private key gives full send and receive access. GoHighLevel requires the private key.

Can I use different Mailgun domains on different sub accounts?

Yes, each sub account can have its own domain selected in its bulk email settings.

What does the reply forwarding setting actually do?

It routes inbound replies back through GoHighLevel so the platform can log them and trigger automations.

Back to all Email tutorials