Is there an inbox for Mailgun?

Updated 2 min read

Connect your Mailgun account to HelloBox and get a shared inbox for your team. It's free for one-person teams. With your API key and HTTP webhook signing key, HelloBox adds a route for each domain that receives, verifies every notification and saves each email. On its own, Mailgun only receives through routes that forward each message to a URL or address, or store it for 3 days for your app to fetch.

How the mail gets to you
  1. Someone writes to [email protected]
  2. Your MX recordsmxa.mailgun.org, mxb.mailgun.org
  3. Mailgun routematch_recipient(…) then store()
  4. Signed notificationfetch the message within 3 days

On your own

Check the signature, fetch the message and keep a copy.

With HelloBox

Adds the route, verifies every notification and saves each email.

On this page
  1. How Mailgun handles incoming mail
  2. Connect Mailgun to HelloBox
  3. What stays the same
  4. Questions

How Mailgun handles incoming mail

Point a domain's MX records at mxa.mailgun.org and mxb.mailgun.org, and Mailgun accepts its mail. What happens next is up to your routes: rules like match_recipient(".*@yourdomain.com") with actions such as forward(), store() and stop().

store(notify=...) keeps the message for up to 3 days and posts a signed notification with a link to fetch it. One account can have domains in the US and EU regions, and each region keeps its own domains, routes and stored messages. The full setup is in how to receive email with Mailgun.

Connect Mailgun to HelloBox

  1. 1In Mailgun, open Settings then API Security. Copy an API key (a domain sending key can only send, so it isn't enough) and the HTTP webhook signing key.
  2. 2In HelloBox, choose Connect a provider, then Mailgun, and paste both. HelloBox finds your region from where your domains are, and asks only if it can't tell.
  3. 3Turn receiving on for a domain. HelloBox adds a route that stores its mail and notifies HelloBox, and shows the MX records, or adds them if your DNS is on Cloudflare.

Each notification is checked against your signing key and refused if it's more than 15 minutes old. HelloBox then fetches the original message and saves it before answering Mailgun, and it reads Mailgun's logs for anything stored in the last 3 days that a notification missed.

What stays the same

  • Your app's keys, SMTP credentials and other routes keep working. HelloBox's routes don't stop the ones you already have.
  • Mailgun bills you for email volume at its own prices. HelloBox plans limit people, domains, storage and contacts, not how much you send.
  • Both keys are encrypted before HelloBox stores them. Disconnecting removes the routes and webhook it added; your domains stay in Mailgun.

HelloBox is an independent product and isn't affiliated with Mailgun.

Questions people ask

Does Mailgun have an inbox?

No. Mailgun receives email through routes that forward or store messages for your app, but it has no mailbox for people to read and answer. HelloBox connects to Mailgun and gives your team a shared inbox.

Which Mailgun keys does HelloBox need?

An API key, which can manage routes and read stored messages, and the HTTP webhook signing key, which proves notifications come from Mailgun. Both are under Settings, API Security.

Does HelloBox work with Mailgun's EU region?

Yes. HelloBox detects whether your domains are in the US or EU region, and asks you to pick when it can't tell.

How long does Mailgun keep received email?

Messages stored by a route are kept for up to 3 days. HelloBox saves its own copy as soon as Mailgun notifies it, so mail stays in your inbox after Mailgun's copy expires.

Your domain deserves an inbox.

Connect Amazon SES, Resend, SendGrid, Postmark, Mailgun or any other provider, then read, reply and share mail as a team. Free for one person.