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

      let pathParams = {
        'emailId': emailId
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };

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

      return this.callApi(
        '/emails/{emailId}', 'DELETE',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Delete an email
     * Deletes an email and removes it from the inbox. Deleted emails cannot be recovered.
     * @param {String} emailId ID of email to delete
     * @return {Promise}
     */
Delete an email
Deletes an email and removes it from the inbox. Deleted emails cannot be recovered.
@param {String} emailId ID of email to delete
@return {Promise}
Delete an email Deletes an email and removes it from the inbox . Deleted emails cannot be recovered . @param { String } emailId ID of email to delete @return { Promise }
async deleteEmail(emailId) {
      let postBody = null;
      if (emailId === undefined || emailId === null) {
        throw new Error("Missing the required parameter 'emailId' when calling deleteEmail");
      }
      let pathParams = {
        'emailId': emailId
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = [];
      let accepts = [];
      let returnType = null;
      return this.callApi(
        '/emails/{emailId}', 'DELETE',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async deleteEmail ( emailId ) { let postBody = null ; if ( emailId === undefined || emailId === null ) { throw new Error ( "Missing the required parameter 'emailId' when calling deleteEmail" ) ; } let pathParams = { 'emailId' : emailId } ; let queryParams = { } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ ] ; let accepts = [ ] ; let returnType = null ; return this . callApi ( '/emails/{emailId}' , 'DELETE' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Delete an email
 Deletes an email and removes it from the inbox.
Delete an email Deletes an email and removes it from the inbox .
// verify the required parameter 'emailId' is set