Refactored code to make it easier to support fetching multiple streams over IMAP
Refactored code to make it easier to support fetching multiple streams over IMAP

jstedfast/MailKit,jamie-dainton/MailKit