not all gmail downloaded

Just installed Emclient on Windows 7 to access my gmail account. It downloaded 49,000 emails to the All Mail folder. The All Mail folder on the website shows more than 80,000 messages. How do I get emclient to download everything? Similarly the inbox is missing about 10,000 messages.