gmail does not sync

I upgrade to version 7 but whatever I do, it does not sync with gmail. I’ve uninstalled and reinstalled it several times, tried many settings for IMAP and SMTP but it simply does not work at all. I am back to version 6 and want my money for the upgrade back!