memoize template_report and handle emailed reports