separate the sendmail from the make_daily_report