How to Setup Your Business Email with Amazon WorkMail and Gmail
Tags: aws
Published: 2021-03-19 03:50:46

Have you had this situation? You are ready to create your digital profile, you thought a lot about what name to use for your email account but when you try to create it somebody has already taken it. You try again on another email platform and again it was taken.

One of the best solutions for this problem is to create a business email and associate it with your regular email, so everytime someone writes an email to your business email, it reaches your regular email inbox section. 


So how can you do that? In this article I’m going to teach you step by step how you can do that with Amazon WorkMail.

Amazon WorkMail is a service that helps you manage all your incoming messages to a specific business email, also it helps you organize the emails of all your coworkers that use email with the same domain and define a storage space for each one. Following I leave some features of this service:

### Amazon WorkMail’s Features
* Free trial for 30 days
* Integration with others Amazon Web Services
* Email flow rules with spam and virus protection
* 50 GB Storage per user
* Monthly cost per user: 4,00 USD

### Requirements to complete the guide
* AWS Account
* Domain Name
* Gmail Account

##Route 53 Association

1. To begin we are going to login in our AWS root account or an IAM account with permission for the services Route 53 and Amazon WorkMail
2. Go to Route 53 and click Created hosted zone
3. In this section we put our domain,  in my case I’m going to use ulzahk.com. Then we click create hosted zone
4. The system is going to create two records an NS type and SOA type:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uu03h97bf3f49umm8i2p.png)

5. Now we go to our domain provider platform and search for the Nameserver section
6. Write all the record values that were created in the NS type record

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/swcd6q6x182lwqlgw4io.png)

##Amazon WorkMail Group Creation

1.Now that we have our DNS configured, lets go to Amazon WorkMail service
2. Here you are going to create an organization. Choose existing Route 53 domain > your domain and a Alias for your organization:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7fjm7xc27twn97fxgl6x.png)

3. Wait until your organization is all setup, then enter by clicking the card’s name
4. Create a user and choose the email that you wanted. In my case I’m going to use francisco@ulzahk.com

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ugt36n441gbih0x5cx4a.png)

5. Now we can receive emails in this direction, to check the email we need to enter the Amazon WorkMail Space of our organization.
6. We go to organization settings and click the link web application:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rze0ne1qztqdg2irn0hi.png)

7. It takes you to a login form where you use your username and password to enter to your Amazon WorkMail Space

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rjunenf2h1rabch90f8z.png)

Email Forwarding
1. Now we are going to integrate this email with our gmail account to manage everything in the last one.
2. We go to the settings section in the top right corner with a gear icon. Then select email rules and new.
3. Create a rule with this information
   1. When the message is sent to <Your Amazon WorkMail Username>
   2. Then Redirect the message to … <Your Gmail Account>
   3. Click Ok and Click Save Changes Button

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k1r51nd8sllnhcx2c4vb.png)

4. With this you can now receive emails from your Amazon WorkMail in your Gmail Account
5. For the final part we are going to our google account, then go to settings > all settings > Tab Account and Imports and click Add another email address in Send email as section

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j89mn2sdj0wdh4rlabz4.png)

6. Put your Amazon Work Mail Email and click next
7. Now use this guidelines:
    1. SMTP Server: smtp.mail.<region>.awsapps.com
    2. Username: <Amazon WorkMail Username>
    3. Password: <Amazon WorkMail Password>

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tkujwk2qoy3nzbt58ga2.png)

8. Click add account and for the email to arrive. 
9. Refresh the tab and now you can send emails with your business email

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7pp6nlmfpdgflemgu0hj.png)

If you liked the teaching process I use in this article, I recommend you to checkout the way I work in these articles:

* [Portfolio Project](https://www.linkedin.com/pulse/portfolio-project-francisco-javier-suarez-verdugo/)
* [Single Page Application: Basic Blog System](https://www.linkedin.com/pulse/single-page-application-basic-blog-system-suarez-verdugo/)

## References
* Amazon WorkMail Documentation: [https://docs.aws.amazon.com/workmail/index.html](https://docs.aws.amazon.com/workmail/index.html)
* Gmail for Developers IMAP: [https://developers.google.com/gmail/imap/imap-smtp
](https://developers.google.com/gmail/imap/imap-smtp
)
* Domain platform used: [https://www.namecheap.com/
](https://www.namecheap.com/
)