Skip to main content
Connect your Mailgun account to export email templates created in Brew directly to your Mailgun domain. No manual copy-pasting — just design in Brew and export to Mailgun in one click.
Mailgun Integration

Setup

1

Open the Mailgun integration in Brew

In Brew, go to Integrations and click the Mailgun card.
2

Copy your domain name

In Mailgun, go to Sending → Domain Settings. Copy your domain name and paste it into the first field in Brew.
3

Copy your Private API Key

Click your profile icon in the top right corner, then go to API Security. Click the eye icon next to your Private API Key to reveal it, then copy it.
4

Paste and Connect

Go back to Brew, paste the API key into the second field, and click Connect.
That’s it — Mailgun is now connected to Brew.

Exporting a Template

Once connected, you can export any email to Mailgun:
  1. Open an email you’ve created in Brew
  2. Click Send
  3. Choose to export the template to Mailgun
  4. Give it a name and click Export
The template appears in Mailgun under Send → Sending → Templates, ready to use.

Requirements

  • A Mailgun account with a verified domain
  • Your domain name (found under Sending → Domain Settings)
  • Your Private API Key (found under Profile → API Security)