frederick removing the debugging and applied the neccessary changes to
IMAPHandler.php