added to_html and .to_html to messages