IMAP parallel fetches fixed, database upgrade fixed