I just tried it again a few times with a different amount of emails in my inbox and it crashed this time. It retrieved 7/8 the first time, then the second time it got 5/8 and then crashed a few seconds later. The weird thing is that I was able to use mIRC as normal between the time the emails stopped being read and the time mIRC crashed.