adds subject and threshold to alerts
mend