Rewrite html ticket/message adding for better email support.