Can't add gmail to my mac mail - using High Sierra
Whether I go into my mail icon or though system preferences and try to add my gmail account to my list of email accounts on my MacBook Air I can't add it. I click on the gmail icon and enter my username and PW and then check off the apps I want to add to this account such as mail, calendar, notes etc and hit done. It looks like it sends and remains on the screen until my only other option is to hit cancel and the account isn't ever added yet I get an email every time from google security saying my macbook is trying to access my account so I know it's sending the info but my Mac isn't putting it on mac mail. This has been going on for months now and likely occurred when i did the update to High Sierra but not sure if that is the exact time this happened. I used to have gmail on my computer until recently when I was having issues, deleted it and couldn't ever re-add it since. Thanks for your help.
MacBook Air 13", macOS 10.13