code: public ApiSuccessResponse acceptEmail(String id, AcceptData5 acceptData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = acceptEmailWithHttpInfo(id, acceptData);
          return resp.getData();
      }
docs: Accept the email interaction
  Accept the interaction specified in the id path parameter
  @param id id of interaction to accept (required)
  @param acceptData Request parameters. (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body