Gmail imap account doesn't download all mail

I have just installed eM client to run against GMAIL with IMAP.
I recieve new mail and mail older than 2015 has downloaded but the mails in between
doesn’t download. I have used the account with WLM and MailBird.

Any ideas?
Thanks Krister

Is it maybe that the account has just not completed syncing?

You can also try right-click on the All Mail folder, and choose Properties > Repair.

It works after repair.