Fixed bug in process_alert_email.rb and notify_mailer.rb