How to Forward Emails to Your Domain 📧
TLDR: Set up Gmail forwarding so it looks like your email address matches your domain name.
Want to organize your email inbox?
How about exposing a different email address for different purposes?
I set up email forwarding so that I can receive emails to my existing Gmail inboxes, but use different email address names.
For example, these are my different email addresses:
- email@example.com - general things
- firstname.lastname@example.org - software development
- email@example.com - job seeking
- firstname.lastname@example.org - photography
- email@example.com - design
What’s the Point?
- Exposed to the respective audience!
So, if I have a photography job, I can tell my client to email me at firstname.lastname@example.org, or if I’m looking for a job, I can ask companies to email me at email@example.com. Then, those emails are nicely organized in Gmail.
How to Set it Up
First thing is to have a domain with a domain registrar such as Namecheap, Google Domains, HostGator, GoDaddy, etc (I recommend Google Domains). This post won’t go over instructions to set that up, so you may want to Google that first.
Next, you will want to enable Email Forwarding from your Domain registrar settings. I use Namecheap, so this image is from Namecheap, but a similar process will apply if you’re using a different registrar.
After that, you will want to redirect emails from an Alias to an existing email address.
As you can see, firstname.lastname@example.org is an existing email address that I have with Gmail. I want emails sent to email@example.com to be forwarded to firstname.lastname@example.org.
Next, log into your existing Gmail account, in this example it’s email@example.com.
- Go to Manage Google Account -> Security tab
- Enable 2-Step Verification
- Add an App Password
- Click on your google picture
- Click on
Manage Your Google Account
- Click the
(Image not shown)
- Click on
- Enable it and link it to your mobile phone
- This will enable the App Password setting on the previous page
Other (custom name)as the Device
- Enter your desired email address (i.e. firstname.lastname@example.org) or the email which you want to expose
- This generates a one time password which you need to copy
- Back in Gmail, go to your settings
- CLick the
Accounts and Importtab
Send mail as, click
Add another email address
- Enter the name of your new email address (i.e email@example.com)
smtp.gmail.comfor the SMTP Server
- Enter the current email address you’re logged in as for
- Enter the password which we copied earlier from
(Image not shown)
- A verification email will be sent to you so just verify it with the code Google sends you
- Back in settings select
Reoky from the same address the message was sent to
Now your email alias is set up! You can add a filter and label in the next steps!
- Back in Gmail settings, click the Filters and
Create a new filter
- In the
Tosection add the new email address you created (i.e. firstname.lastname@example.org)
- Apply a label and name it with same name as your email address
Also apply filter to X matching conversations
- Create filter
Repeat these steps for other email addresses you want
Now, you have successfully routed emails to various email address and organized them! For more info, watch this video.
Thanks for reading! 🙌
- Twitter @anthonyjdella
- LinkedIn @anthonydellavecchia
- GitHub @anthonyjdella
- Medium @anthonyjdella
- Dev.to @anthonyjdella
- TikTok @anthonyjdella