Fix wrong reference on email template.