fix mail html view and invitation mail layout.