I found this tutorial from Google really useful when you want to create new Gmail account for your Apple Mail application.
Fill in your name, full Gmail address and your Gmail password. It will look like image below.
Select IMAP as your account type and use
imap.gmail.com as your incoming mail server.
smtp.gmail.com as your outgoing mail server and use your correct Gmail address and password for authentication.
Read the summary and click on create to confirm your creating new account.
Now you can see your new Gmail account has been added to your Apple Mail Accounts.
Some articles taken from our resource base, tightly related to current article, to empower you with more knowledge on tweaking the most out of your Mac.