Google · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Gmail Deletes API

9 actions 9 updates phrasing extends openapi/google-deletes-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google's API. It is a proposal applied on top of the contract, not a document Google publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/gmail/v1/users/{userId}/drafts/{id}'].delete
$.paths['/gmail/v1/users/{userId}/messages/{id}'].delete
$.paths['/gmail/v1/users/{userId}/labels/{id}'].delete
$.paths['/gmail/v1/users/{userId}/threads/{id}'].delete
$.paths['/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}'].delete
$.paths['/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}'].delete
$.paths['/gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}'].delete
$.paths['/gmail/v1/users/{userId}/settings/filters/{id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Google Gmail Deletes API
  version: 1.0.0
extends: openapi/google-deletes-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/gmail/v1/users/{userId}/drafts/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Permanently delete a draft
      effect: destructive
      questions:
      - How do I permanently delete a draft without trashing it?
      - Can I remove a draft I never sent?
      instructions:
      - text: Permanently delete draft {id} for user {userId}.
        slots:
          id: path.id
          userId: path.userId
      - text: Delete the unsent draft {id} from {userId}'s mailbox.
        slots:
          id: path.id
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/messages/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Permanently delete a message
      effect: destructive
      questions:
      - How do I permanently delete a message from a user's mailbox?
      - Is there a way to delete a single email that can't be undone?
      instructions:
      - text: Permanently delete message {id} for user {userId}.
        slots:
          id: path.id
          userId: path.userId
      - text: Delete the single email {id} from {userId}'s inbox.
        slots:
          id: path.id
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/labels/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Permanently delete a label
      effect: destructive
      questions:
      - How do I permanently delete a label and remove it from every message?
      - Can I delete a label that was applied to threads?
      instructions:
      - text: Permanently delete label {id} for user {userId}.
        slots:
          id: path.id
          userId: path.userId
      - text: Remove label {id} from {userId}'s mailbox and delete it.
        slots:
          id: path.id
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/threads/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Permanently delete a thread
      effect: destructive
      questions:
      - How do I permanently delete an entire email thread?
      - What happens to messages in a thread when I delete the thread?
      instructions:
      - text: Permanently delete thread {id} for user {userId}.
        slots:
          id: path.id
          userId: path.userId
      - text: Delete the whole thread {id} from {userId}'s mailbox.
        slots:
          id: path.id
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an S/MIME config for a send-as alias
      effect: destructive
      questions:
      - How do I delete the S/MIME certificate for a send-as alias?
      - Can I remove an encrypted signature config from a send-as address?
      instructions:
      - text: Delete S/MIME config {id} for send-as alias {sendAsEmail} on user {userId}.
        slots:
          id: path.id
          sendAsEmail: path.sendAsEmail
          userId: path.userId
      - text: Remove the encrypted signature {id} from {sendAsEmail} in {userId}'s settings.
        slots:
          id: path.id
          sendAsEmail: path.sendAsEmail
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a send-as alias
      effect: destructive
      questions:
      - How do I delete a send-as alias I no longer use?
      - Does deleting a send-as alias revoke its verification?
      instructions:
      - text: Delete send-as alias {sendAsEmail} for user {userId}.
        slots:
          sendAsEmail: path.sendAsEmail
          userId: path.userId
      - text: Remove the {sendAsEmail} alias from {userId}'s settings.
        slots:
          sendAsEmail: path.sendAsEmail
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a client-side encryption identity
      effect: destructive
      questions:
      - How do I delete a CSE identity so it can't be used to send encrypted mail?
      - Can I restore a CSE identity after deleting it?
      instructions:
      - text: Delete CSE identity {cseEmailAddress} for user {userId}.
        slots:
          cseEmailAddress: path.cseEmailAddress
          userId: path.userId
      - text: Remove the encrypted mail identity {cseEmailAddress} from {userId}'s settings.
        slots:
          cseEmailAddress: path.cseEmailAddress
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/settings/filters/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Permanently delete a filter
      effect: destructive
      questions:
      - How do I permanently delete a filter I no longer need?
      - Can I remove a filter that was applied to messages?
      instructions:
      - text: Permanently delete filter {id} for user {userId}.
        slots:
          id: path.id
          userId: path.userId
      - text: Remove the {id} filter from {userId}'s settings.
        slots:
          id: path.id
          userId: path.userId
      method: generated
      generated: '2026-11-15'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/google-deletes-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.