updating code formatting on email template