Refactored email template to use macro.