>10000 emails just landed in my Inbox

Hi, All of a sudden the email client downloaded all the contents of my server inbox to my emClient inbox. It did this before about 2 years ago. These are historic emails. Any ideas why please? Or how I can prevent this from happening again? Thanks