code: public ApiResponse<ApiSuccessResponse> acceptEmailWithHttpInfo(String id, AcceptData5 acceptData) throws ApiException {
          com.squareup.okhttp.Call call = acceptEmailValidateBeforeCall(id, acceptData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
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 ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body