Simple framework for capturing in application metrics and emailing aggregation results