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