[RAILS4] How to escape HTML characters in email in rails mailer

Hi All,

I want to escape some of my email contents which are all having special characters such as below, what is best way to do it, html_safe, h, & raw didnt escape the HTML characters in mailer views.

"password<>"
"password<br><d>test"