Fix email text formatting issues