Fixed unicode e-mail error and added more useful logging information.