course message -> updating mail_view class to use html_writer