[mms] Fix adding an HTML trailer to a compose message.