Start work on proper IMAP parser