folder trees not showing

I have just installed em client and added 2 Gmail accounts.
They both have permission to access each respective account and the sync runs, but no folder trees appear on the LH side and no emails appear either.
I have tried deleting the accounts and then adding them again.
At one point I had a folder tree for one of the accounts which showed emails but wouldn’t download the email content and said i was offline.
I have checked the IMAP settings against the Gmail requirements but they are all OK.