Email pulls by date instead of flag

IMAP only allows you to search by date, not by date and time, so when looking for emails to pull, we pull all emails arrived on or after the day the last email was pulled, and then we manually filter out the ones that we had already pulled on that day.