added email_footer in place that can be reached