Setting up email template variables