IMAP wont connects to gmail

“(IMAP) An attempt to connect to failed. This could be caused by temporary server unavailability or incorrect settings. Do you want to check the settings?”

My calendar, contacts and tasks sync but it will not access my emails.

Been trying to get VIP help for over 3 days with no response. Ticket ID: 53507

Was this working before, or is it a new setup?

Yes it was working fine for years. Got it fixed last night after I finally got onto VIP support via Facebook and messenger as they were not responding to my emails. It turned out my firewall was blocking it. This only just happened as it has been working for years. I think the last update of my virus program changed something and was blocking it. All working fine now.

Had a similar problem, and ALSO turned out to be antivirus related.