Gmail not working for mails

I have decided to try em client again as it now integrates with gmail contacts which I dont think was the case a few years back. I have gone through the google authorisation for my 2 accounts and my calendar and contacts are syncing but I have no email. There is a red triangle by each account and a mouse hover indicated that either the server is down or the settings are wrong. I find both these unlikely. Any ideas totally welcome.