Another bug fix in process_alert_email.rb: forgot to save alert record.