email_alert cleanup