Fix bug: email template