How to Create Custom Domain Email Addresses for Free with Mailgun (2023)

  • Published February 26, 2022
  • Mailgun Users

Create custom email address accounts for your website domain with Mailgun. It takes just 3 steps to enhance your professional appearance.

When starting a new business, it’s best to minimize your operating costs as much as possible. This reduces your financial risk to start your new endeavor. It also gives you an edge against your competitors because you can offer lower prices to attract the market’s attention. Still, there are some services that a budding business can’t go without. One such service is custom domain email addresses.


Most businesses choose to just follow the crowd and sign up for a Google Business account. They assume there is no alternative and commit to paying the monthly fee. Well, I’m here to let you know there is another way! It just takes a little bit of upfront configuration, same as getting set up with any service.

If your business handles less than 1,250 emails per month, then you can create custom email addresses at your website’s domain for free. All you need is a free Gmail and Mailgun account.

Add SMTP User Accounts in Mailgun

First, you must add email user accounts for your domain in Mailgun. To do this, sign into Mailgun and navigate to Sending > Domain settings. Now click the tab titled “SMTP credentials”. You should see there is already an entry for [emailprotected]. If the domain is not what you were expecting, ensure the correct domain is selected in the top-left of the screen.

To add another user account, click the button in the top-right of the screen titled “Add new SMTP user”. You can then enter the username you would like to create, which is the part before the @-sign.

Once created, there will be a notification in the bottom-right of your screen to copy the account’s generated password. If you missed it, don’t worry. Just click “Reset password” and Mailgun will generate a new password again for you to copy.

Continue adding new users and storing their passwords in a secure location. Here are some common email address user names you might want to consider:

(Video) Custom Mailgun Domain Setup

  • (Try using your own name or staff members’ names!)

Create an Email Forwarding Rule in Mailgun

To start receiving emails for the custom email addresses you just created, simply create a “Receiving Route” in Mailgun. Here’s how to do it:

  1. In your Mailgun account, click “Receiving” in the lefthand menu.
  2. Click “Create route” in the top-right of the page.
  3. In the edit screen, set “Expression type” to “Catch All”.
  4. Check the box under “Forward” and type the receiving email address, such as your free Gmail address.
  5. If you’d like, enter a helpful note for the “Description” field. For example, I set mine to “Receive all messages at Gmail”.
  6. Click “Save route” at the bottom.

Fantastic! You are now forwarding all emails to your Gmail inbox. Go ahead and give it a try by sending yourself an email! Note that you will only receive messages sent to the SMTP user accounts that you created, though.

Routing for Separate End-User Accounts

If you would like to route different custom domain email addresses to different Gmail addresses, then you would instead use multiple “Match Recipient” rules. For example, you might have a sales lead, Emily, that is accountable for messages received at [emailprotected], [emailprotected], and [emailprotected] which she then manages from her personal Gmail account.

For more advanced routing rules, see Mailgun’s filter expression documentation.

(Video) Setup Mailgun for your custom email address for higher email inbox deliverability


If the routing rule was not configured properly, you will receive an error message in Gmail that looks like this:

How to Create Custom Domain Email Addresses for Free with Mailgun (1)

If the SMTP user account was not configured properly in Gmail, then the email message will silently fail. An error will not be displayed, but the message will not show up in your Gmail inbox. This is because Mailgun is successfully routing messages, but your Gmail account is misunderstanding where to listen for those messages.

Of course, also ensure you are sending to the correct address by reviewing for typos. To avoid mistakes, copy the full email address directly from the SMTP credentials listing in Mailgun.

Add Your SMTP Accounts to Gmail

Now that you’re able to receive emails at your new custom email addresses, let’s now talk about sending emails from those new accounts. All we need to do is connect them in your Gmail account settings.

To add one of your new SMTP user accounts to Gmail, follow these steps:

(Video) Cloudflare Email Setup (Free Professional Custom Email Setup)

  1. Navigate to your account settings in Gmail by clicking the cog in the top-right of the screen. Now click “See all settings”.
  2. Click the “Accounts and import” tab at the top of the screen.
  3. Under the section labeled “Send mail as”, click “Add another email address”.
  4. Enter the sender display name and email address, then click “Next step” to continue.
  5. Now that you’re asked to provide SMTP server credentials, navigate back to Sending > Domain settings > SMTP credentials in Mailgun where your accounts are listed.
  6. At the bottom of the screen, you’ll see a section titled “SMTP settings”. Use these values to complete the Gmail form. It should go something like this:
    • SMTP Server:
    • Port: 587 (most secure and reliable)
    • Username: [emailprotected] (for example)
    • Password: (the password Mailgun created for the account)
      • If you lost the password, simply click “Reset password” for the address in Mailgun to generate a new one for you to copy.
    • Secured connection using TLS (recommended)
  7. Click “Add account”. If all went well, you will receive a verification email for the newly added address in your Gmail’s inbox.
  8. Copy the code from the verification email and paste it into the input field to complete verification.

Confirm by Sending Some Tests

Now, try replying to one of the test emails you sent earlier when confirming the ability to receive emails. You should be able to select the alias in the From field when composing your reply. Go ahead and send the email, then ensure you receive the email as expected. Once you’ve received the email, be sure to confirm the sender name and address. If you don’t like the sender name, simply click “edit info” next to the alias address in your Gmail’s settings.

Once your tests look good, you now have a fully functional custom domain email address to use as you wish! Just remember to repeat this process for each custom domain email address that you’d like to create.

Is this really FREE?

If you are routing less than 1,250 emails per month, then Mailgun’s SMTP service is indeed free for you under their Flex plan!

For my web development contracting business, I find this to be perfect. I currently don’t blast to any mailing lists or do any other sort of bulk mailing. I simply use my custom email addresses for business communication purposes between my clients and I.

If you exceed the limit one month, the service is still incredibly cheap because additional messages are only $0.001 each. That’s $1.00 per 1,000 extra emails. Since the first 1,250 emails are free, this means it’s actually only $1.00 to handle 2,250 messages via Mailgun! So even if you have a lucrative month, Mailgun won’t charge you a large amount of money. I really appreciate flexible billing plans because there are a lot of uncertainties when starting a small business.

For more information, refer to Mailgun’s pricing page. It has a nifty slider to help you select the plan that’s right for you!

(Video) Using Mailgun to Setup a Professional Custom Email for Free in Gmail

Tip: Use your Gmail address for service accounts

When you don’t need the professional look of a custom domain email address, it’s best to use your Gmail address. This will help keep your Mailgun usage lower by not routing password resets, verification emails, invoice receipts, billing alerts, account notifications, newsletter messages, etc. through their SMTP service.


Can I use Mailgun for free? ›

Mailgun is an SMTP service provider for transactional email and email marketing campaigns, offering robust features, support, and analytics—for free!

How can I create my own email domain for free? › The best option if you want a completely free email domain and don't mind using a generic address. Zoho Mail: Free or affordable plans for those who already have a domain name. Bluehost: Ideal if you need web hosting and a custom email domain.

Are custom email domains free? ›

' Unfortunately, there aren't a lot of free email providers with a custom domain feature. This can be an issue for those using unmanaged server hosting (Cloud Server Hosting or Bare Metal Dedicated Hosting) but needing email hosting as well. cPanel-managed server hosting includes a functioning mail server by default.

How many emails do you get with Mailgun for free? ›

For new users signing up, we offer a one-month Foundation Trial during which 5,000 emails are included for free. During the one-month trial, however, you actually can send up to 6,000 emails at no cost (due to our $1 minimum for payment processing).

How many free emails can I send with Mailgun? ›

Free plan (no credit card required):

5,000 messages/month are included. There is a limit of 300 messages per day on the included sandbox domain. Data retention for Logs and the Events API is 1 day.

How do I create a domain free of cost? ›

How to Register a Domain Name for Free
  1. Wix. Image Source. ...
  2. Weebly. Image Source. ...
  3. Bluehost. Image Source. ...
  4. WordPress. Image Source. ...
  5. GoDaddy. Image Source. ...
  6. Freenom. If you're looking for a free domain name without a hosting plan or a website building platform bundled into the offer, then Freenom is a great choice.
Aug 18, 2022

Does Google offer free email with domain? ›

Luckily, it's possible to use Gmail with your own domains for free. That way, you can have the best of both worlds — a custom domain email with the convenience of Gmail's interface. You also don't have to log in to different platforms to manage your personal and business emails.

How do I get a business email address free custom domain provider? ›

Companies like Bluehost, HostGator, Dreamhost, and Hostinger give you a free business email address with your own free domain when you use their hosting service to build a WordPress website. As your business grows and you can afford the extra $6 per month, then you can use G Suite by Google.

Is Mailgun open source? ›

We like open-source software a lot, and we've open-sourced some of our code recently like our MIME parsing and email validation libraries. Today, we're letting you know that we've also open sourced our documentation.

Can you send emails from Mailgun? ›

One of the huge benefits of Mailgun is that they allow you to send up to 10,000 emails for free per month.

Can I use Mailgun with Gmail? ›

Setting up Mailgun Account

Its free plan allows you to send or receive up to 10,000 emails a month. [clickToTweet tweet=”Start using Mailgun and use a custom domain email address with your Gmail for free.” quote=”Start using Mailgun and use a custom domain email address with your Gmail for free.”]

What is the difference between Mailgun and MailChimp? ›

Mailgun is a set of powerful APIs that allow you to send, receive, track and store email effortlessly. MailChimp belongs to "Email Marketing" category of the tech stack, while Mailgun can be primarily classified under "Transactional Email". Some of the features offered by MailChimp are: Facebook Integration.


1. How to Set-Up Mailgun using Gmail the Easy Way!
(Graeme Jennings)
2. Set up Mailgun and Gmail to Professional custom email
(Afdal Dev)
3. Setting up a Mailgun Domain HighLevel Whitelabel
(Joe Habscheid)
4. Configure Domain Name in MailGun SMTP Provider
5. How To Setup Mailgun Using Google Domains
6. Make FREE Email Address With Custom Domain Name - Two Minute Tuesday
(Tadey Premusic)
Top Articles
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated: 04/02/2023

Views: 6014

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.