Bug/fix imap incoming processing