refactor the email html template for support most of email-client.
add some ruby codes