Fixed email template issue.