validation of both email services and added more logging