removing duplication of ALERT_USER_EMAIL config reading by adding a mail method that does that automatically