fixed #1488 - emails are processed 100 at a time