altered the mail class to decode html

started to fix the product list pages