Attempt to connect to my gmail account failed

I am not able to connect to either of my gmail accounts today, since the automatic update downloaded. I have checked all settings - all fine. I’ve deleted one account and reset it up - still the same error. Any ideas?

Hi, are you by any chance using a two step verification by Google?
Can you make a screenshot of your IMAP settings from Tools > Accounts > Your Account > IMAP?

Thank you,