Google · Capability

Google Gmail API — Pop

Google Gmail API — Pop. 2 operations. Lead operation: Google Get POP Settings. Self-contained Naftiko capability covering one Google business surface.

Run with Naftiko GooglePop

What You Can Do

GET
Get — Google Get POP Settings
/v1/gmail/v1/users/{userid}/settings/pop
PUT
Put — Google Update POP Settings
/v1/gmail/v1/users/{userid}/settings/pop

MCP Tools

google-get-pop-settings

Google Get POP Settings

read-only idempotent
google-update-pop-settings

Google Update POP Settings

idempotent

Capability Spec

gmail-pop.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Gmail API — Pop
  description: 'Google Gmail API — Pop. 2 operations. Lead operation: Google Get POP Settings. Self-contained Naftiko capability
    covering one Google business surface.'
  tags:
  - Google
  - Pop
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_API_KEY: GOOGLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: gmail-pop
    baseUri: https://gmail.googleapis.com
    description: Google Gmail API — Pop business capability. Self-contained, no shared references.
    resources:
    - name: gmail-v1-users-userId-settings-pop
      path: /gmail/v1/users/{userId}/settings/pop
      operations:
      - name: get
        method: GET
        description: Google Get POP Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
        - name: userId
          in: path
          type: string
          description: (Required)
          required: true
      - name: put
        method: PUT
        description: Google Update POP Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: userId
          in: path
          type: string
          description: (Required)
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: gmail-pop-rest
    port: 8080
    description: REST adapter for Google Gmail API — Pop. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/gmail/v1/users/{userid}/settings/pop
      name: gmail-v1-users-userid-settings-pop
      description: REST surface for gmail-v1-users-userId-settings-pop.
      operations:
      - method: GET
        name: get
        description: Google Get POP Settings
        call: gmail-pop.get
        with:
          Accept: rest.Accept
          userId: rest.userId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: put
        description: Google Update POP Settings
        call: gmail-pop.put
        with:
          Content-Type: rest.Content-Type
          Accept: rest.Accept
          userId: rest.userId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gmail-pop-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Gmail API — Pop. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: google-get-pop-settings
      description: Google Get POP Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gmail-pop.get
      with:
        Accept: tools.Accept
        userId: tools.userId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-update-pop-settings
      description: Google Update POP Settings
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: gmail-pop.put
      with:
        Content-Type: tools.Content-Type
        Accept: tools.Accept
        userId: tools.userId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.