Apple Mail keeps asking for google login since Sierra 10.12.4 Beta Apple Mail asks for Google login on a daily basis. This happens to both my personal and work gmail account. I tried generating app specific password but when i go to preferences -> account information: there is no field for a password.

This has been happening only since I have upgraded to 10.12.4.

I couldn't reproduce the issue easily - not until the next prompt for password shows.

Update

I tried deleting and re adding the accounts. It did not fix the issue. Worse, I could not log back into my account this time the google login prompts. It was stuck at a gray screen after entering the password.

However, updating to the latest public beta just now resolved the issue.
I am not sure what else you've tried so far, so I'll begin from scratch:

Disable two-step verification

In the past, I've found that two-step verification caused issues between OS updates. Use Google's website to disable two-step verification for your accounts. You can reenable it later. If you aren't using two-step verification, continue.

Re-authenticate


Completely remove the affected accounts: System Preferences > Internet Accounts > select account > click minus icon
Add the accounts again. You should see a Google-branded login frame in the window.


If you are able to do this, continue monitoring for the issue. If you've already tried this, please update your answer with what is currently happening and the steps you've taken.