further processing html for display in mail views