Changed this to a method that we call in dns_checker
changed the way we are calling send_alert_mail