Added API spec for Json objects and add mail util