async sendEmailSimple(emailOptions) {
      let postBody = emailOptions;
      // verify the required parameter 'emailOptions' is set
      if (emailOptions === undefined || emailOptions === null) {
        throw new Error("Missing the required parameter 'emailOptions' when calling sendEmailSimple");
      }

      let pathParams = {
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };

      let authNames = ['API_KEY'];
      let contentTypes = ['application/json'];
      let accepts = [];
      let returnType = null;

      return this.callApi(
        '/sendEmail', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Send an email
     * If no senderId or inboxId provided a random email address will be used to send from.
     * @param {SimpleSendEmailOptions} emailOptions emailOptions
     * @return {Promise}
     */
Send an email
If no senderId or inboxId provided a random email address will be used to send from.
@param {SimpleSendEmailOptions} emailOptions emailOptions
@return {Promise}
Send an email If no senderId or inboxId provided a random email address will be used to send from . @param { SimpleSendEmailOptions } emailOptions emailOptions @return { Promise }
async sendEmailSimple(emailOptions) {
      let postBody = emailOptions;
      if (emailOptions === undefined || emailOptions === null) {
        throw new Error("Missing the required parameter 'emailOptions' when calling sendEmailSimple");
      }
      let pathParams = {
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = ['application/json'];
      let accepts = [];
      let returnType = null;
      return this.callApi(
        '/sendEmail', 'POST',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async sendEmailSimple ( emailOptions ) { let postBody = emailOptions ; if ( emailOptions === undefined || emailOptions === null ) { throw new Error ( "Missing the required parameter 'emailOptions' when calling sendEmailSimple" ) ; } let pathParams = { } ; let queryParams = { } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ 'application/json' ] ; let accepts = [ ] ; let returnType = null ; return this . callApi ( '/sendEmail' , 'POST' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Send an email
 If no senderId or inboxId provided a random email address will be used to send from.
Send an email If no senderId or inboxId provided a random email address will be used to send from .
// verify the required parameter 'emailOptions' is set