use memory storage util to store imap connections and retrieve them later
fix issue with mailbox name parsing