macReports

Apple iOS Mac OS X Reports , Help and News

  • How to
  • News
  • Not working?
  • Tips and Tricks
  • Guides
You are here: Home / Not working? / Mac Mail App: Gmail Not Working? Fix

Mac Mail App: Gmail Not Working? Fix

Last updated on March 30, 2019 By Serhat Kurt 22 Comments

Several people are experiencing issues with Gmail (especially G Suite) email accounts in Mail on Mac. It seems that the Mail App is not working as expected for some Gmail users. More specifically, some Gmail users have said that after installing the macOS 10.14.4, and launching the Mail app, some Gmail users are asked to authenticate their email addresses. They get a notification saying:

See also: macOS Mojave Freezes or Stops Responding, Fix

“Enter the password for the account “(null)”: Google requires completing authentication in Safari.” This takes users to a Google web login form. However, shortly after authenticating, the Mail app asks for authentication once again, and again, as the process does not stick and goes into an endless loop.

Gmail Mac problem

Please note that we contacted Apple regarding this issue, and we were told that Apple is currently working on a fix.

In the meantime, you can try the following fixes:

1– Changing your Gmail account’s security settings may fix this problem. Open Google’s My Account site (https://myaccount.google.com) and click Security (On the left navigation panel) and then scroll down and find the “Less secure app access” section and turn this on (note that Google recommends this OFF).

See also: Mail App Keeps Crashing

2- Set up your email account using IMAP. Please note that this process will delete your messages and will no longer available on your Mac. But do not worry, your mails will not be removed from Google’s servers, you can still access your mails via gmail.com web site. Here is how:

  • Open the Mail App
  • Click Mailmail app
  • Click Preferences
  • Click Accountsmail accounts
  • Select your Gmail account
  • And click the (-) remove button
  • Now we will re-add your Gmail account
  • Before that, let us make sure that IMAP access is enable. If not, you can do that easily. To enable IMAP in Gmail, login into your Gmail web client (gmail.com) and then click Settings:Gmail settings
  • Click the Forwarding and POP/IMAP tab
  • Select Enable IMAP (IMAP access section)
  • And scroll down and click Save.
  • Now again in Mail App, choose Mail
  • Click Add Account
  • Select Google, then click Continue
  • Enter your email and click Next
  • Enter your password and click Next
  • And follow the instructions

If this does not work, try the “Add Other Account” option and add smpt/imap info manually:

  • Incoming server: imap.gmail.com
  • Outgoing server: smtp.gmail.com

3- Open Safari and go to https://accounts.google.com/b/0/DisplayUnlockCaptcha and then enter your username and password, then enter the letters (captcha) then try again.

4-Please try the following:

  1. Quit Mail App.
  2. Open Keychain (Applications > Utilities or Spotlight Keychain)
  3. Search: google.oa
  4. Find the accounts that you are having trouble accessing, and delete Keychains
  5. Now go to https://accounts.google.com
  6. Sign in with your problematic account
  7. Click Security (left menu)
  8. Find the “Third-party apps with account access” section and click “manage third-party access”
  9.  Click macOS and to revoke its access
  10. Then sign out (https://accounts.google.com)
  11. On your Mac, go to System Preferences > Internet accounts and re-authenticate your account
  12. And open your Mail and try again

5-Still having the problem? if so try this:

  1. Download and install Charles (a proxy app): https://www.charlesproxy.com/latest-release/download.do
  2. Authorize automatic proxy, when asked
  3. In Charles go to the Help menu and then choose SSL Proxying > Install Charles Root Certificate
  4. Keychain Access will open. Find the “Charles Proxy…” (you may type Charles to search).
  5. Double click on it.
  6. Expand the Trust section and set to “Always Trust”.
  7. Close the window, enter your password when you are asked.
  8. In Charles, choose SSL Proxying Settings (Proxy menu).
  9. Add a new location with Host: people.googleapis.com
  10. Go to the Tools menu and then choose Rewrite and click Add.
  11. Add a new location with Host: people.googleapis.com.
  12. Add a new action:

Type: Body

Where: Response

Replace Value: {“names”:[{“metadata”:{“primary”:true},”displayName”:”Your Name”}],”emailAddresses”:[{“value”:”[email protected]”}]}

  1. And now on your Mac, open System Settings and Internet Accounts and re-authorize your account.
  2. Now test to see if it is working, if your issue is resolved now, feel free to remove the Charles app.

See also: macOS Mojave Draining Your Mac Battery Life? Here Is How To Fix

Filed Under: Not working? Tagged With: macOS, Mail App

Comments

  1. Hannel says

    February 28, 2021 at 11:59 pm

    Thank you so much!! I’ve been trying to get it fixed for almost two years until I found this.

    Reply
  2. Skip Gaede says

    November 24, 2020 at 7:32 pm

    What worked for me was the following:

    Go to google, sign into GMAIL.
    Under Security, go to the section called App Passwords.
    I had app passwords for iMac, iPad and iPhone created. I deleted the app password for the Mac.
    Select the App=Mail, and the device=Mac
    Google will generate a one time password which you should copy to the paste board.

    At the Mac, in Mail, select Accounts under Mail in the menu bar

    Setup the new account as “Other,” not Google.
    Enter your friendly name, your Gmail address and paste the one time password you copied previously and hit .

    Both Google, Mac Mail and you will be happy with the results.

    Reply
    • MickN says

      February 15, 2021 at 2:09 pm

      Brilliant, thanks for the info been racking my brains for days going through all the usual tips & tricks. All up and running. Cheers!

      Reply
  3. Barry Rabin says

    August 17, 2020 at 2:47 pm

    #4 Worked for me as well, thanks!

    Reply
  4. Pav says

    August 11, 2020 at 8:51 am

    Thanks a lot. It worked when I removed the access to macOS in the ‘manage third party apps’ and then then adding the account in Mail.

    Thanks a mil.

    Reply
  5. A.u says

    July 16, 2020 at 8:59 pm

    I finally managed to locate an envelope index file in the Library/Mail/V7/MailData and deleted it. After 4 days and 8 hrs suffering it works again, thanks god.

    Reply
  6. tere says

    March 4, 2020 at 7:47 pm

    great! thank you for the suggestions. haven’t tried them yet . but anyways i appreciate very much your help

    Reply
  7. matix says

    February 13, 2020 at 8:55 am

    HI guys,
    i have fixed this one but my problem is that i cant open junk mails from Google account in Mac Mail. I can see the number of junk mails but when i open the folder looks like empty. no email inside. Somebody has some clue about it?

    Cheers and have a nice day

    Reply
  8. na says

    December 3, 2019 at 4:25 pm

    fix #4 worked for me as well, thank you so much!!!

    Reply
  9. Roger Brigance says

    October 30, 2019 at 6:15 pm

    You’re the best. Item #4 fixed mine.

    Thank you!!

    Reply
  10. Jim says

    October 3, 2019 at 10:36 am

    Mail app authentication issues with Gmail – FIX, check for O/S OS update.

    I faced the same issues, where none of the workarounds solved the issues, including adding “other mail” as opposed to google account, I even deleted all google stuff from keychain, revoked app access from gmail and started again…. but to no avail

    I finally noticed a supplementary update outstanding on Mac, updated to 10.14.6 and everything is back to normal. Phew

    Reply
    • Hanna says

      May 11, 2020 at 3:26 pm

      I’m already at 10.15.4 Catalina and it’s still not fixed

      Reply
  11. Maggie says

    September 23, 2019 at 6:47 pm

    I have just been through all the fixes I have found on line and after all that, when I went through the Add other Account’ I got the safari message again and it went no further.
    So frustrating.

    Reply
  12. Hal Breidenbach says

    September 5, 2019 at 8:41 pm

    I worked my way down to # 4 and that finally worked.

    I was sure I would have to reenter all my calendar entries!

    Thank you.

    Reply
  13. Viren Joshi says

    June 28, 2019 at 11:06 am

    Recently as on 28 june 2019 . i changed password for my gmail account.(Gsuit)
    when i tried to update on ipad , while its says re-enter password , but not allowing to change i.e keyboard does not come up

    while setting up ios mail for gmail it does not allowed. it is not going further for seeting up google hosted private domain

    Reply
  14. Iyad Kaddoura says

    June 28, 2019 at 5:05 am

    I removed the gmail account from the system preferences, restarted the macbook, and re-added the gmail account server. I was prompted to authenticate in Safar again, but this time it moved forward and its back to normal.

    Reply
  15. papadelta says

    April 30, 2019 at 5:16 pm

    I spoke to Apple support now. They gave me the fix I needed.

    You remove the gmail accounts.
    Then reenter the data, but NOT using the gmail button. Instead use ‘other mail’, and enter the data with username and password.

    It works perfectly now.

    Reply
    • Viren Joshi says

      June 29, 2019 at 8:33 am

      but Calender and contacts Remian unsync

      Reply
    • Ian Beaumont says

      July 3, 2019 at 8:43 pm

      That does work, but only for mail and notes – apple calendar no longer syncing with google calendar – this sucks!

      Reply
  16. Thomas Sturgeon says

    April 29, 2019 at 5:15 am

    Wrong!

    I found an error in the console log that indicated that sandbox permissions were preventing the Internet Accounts process from opening Safari and exchanging the necessary information.

    I rebooted into the recover console and ran ‘csrutil disable’ in the shell, rebooted, then went into Internet Accounts and selected Google and Safari opened as expected.’

    After I logged into my Google account and was allowed to give my mac permissions to my mailbox, calendar, etc.

    Then I could open Mail and resync with Gmail.

    After that I re-enabled SIP with ‘csrutil enable’ in the recovery console and went on with life.

    If someone wants to track down the exact sandboxed Library entry, it probably would help with the patch or a user supplied permanent solution versus my work around.

    Reply
    • Chris Harriss says

      October 3, 2019 at 5:17 pm

      Hi Thanks for this, but with respect, I cannot do this. I have no clue how. Surely Apple should make a fix.

      This is so frustrating.
      Chris H

      Reply
  17. Frank says

    April 28, 2019 at 8:50 am

    So in 2019 we need a third party proxy app because Apple is failing to connect to a gmail account. I have moved from OSX to Linux 2 years ago. 2019 will be the years i will be migrating my wife’s laptop to Linux, too. Apple, this is just ridiculous.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow us

  • Facebook
  • RSS
  • Twitter

Got a tip for us? Email us.

Latest Posts

Calendar Shows Wrong Week, Day, or Date

Passwords on Safari: The Spinning Wheel – How to Fix the Lag

iPhone Bluetooth Keeps Disconnecting and Reconnecting? How to Fix

What to Do if HBO Max isn’t Working on your Apple TV

Can’t Sign in to Google Account on Safari in iOS and iPadOS

Pages

  • About macReports
  • Contact Us
  • Privacy Statement
  • Terms of Use

Tags

AirPods Apple Car Apple Card Apple Company Apple ID Apple Music Apple Pay Apple TV Apple Watch Apps App Store Bluetooth Calendar Catalina FaceTime iCloud iMessage iMessages iMovie iOS iOS 14 iPad iPhone iTunes Keyboard Mac Mac Battery MacBook macOS macOS Big Sur Mail Mail App Messages Music Notifications Pages PDF Photos Safari screenshot Siri Update Wi-Fi Windows YouTube

Search macReports

Categories:

  • Guides
  • How to
  • News
  • Not working?
  • Tips and Tricks

About macReports:

This website is founded by Serhat Kurt. He worked as a Senior Technology Director. He holds a doctoral degree (or doctorate) from the University of Illinois at Urbana / Champaign and a master’s degree from Purdue University.

Stacey Butler

Stacey Butler is a tech writer at macReports covering news, how-tos, and user guides. She is a longtime Mac and iPhone user and holds a Ph.D. from the University of Illinois at Champaign-Urbana.

 

This website is not affiliated with Apple.

Copyright © 2021 / macReports