Gravitee · Capability

Gravitee.io - Access Management API — email

Gravitee.io - Access Management API — email. 8 operations. Lead operation: Find a email for an application. Self-contained Naftiko capability covering one Gravitee business surface.

Run with Naftiko Graviteeemail

What You Can Do

GET
Findapplicationemail — Find a email for an application
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/applications/{application}/emails
POST
Createapplicationemail — Create a email for an application
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/applications/{application}/emails
PUT
Updateapplicationemail — Update an email for an application
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/applications/{application}/emails/{email}
DELETE
Deleteapplicationemail — Delete an email for an application
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/applications/{application}/emails/{email}
GET
Findemail — Find a email
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/emails
POST
Createemail — Create a email
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/emails
PUT
Updatedomainemail — Update an email
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/emails/{email}
DELETE
Deletedomainemail — Delete an email
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/emails/{email}

MCP Tools

find-email-application

Find a email for an application

read-only idempotent
create-email-application

Create a email for an application

update-email-application

Update an email for an application

idempotent
delete-email-application

Delete an email for an application

idempotent
find-email

Find a email

read-only idempotent
create-email

Create a email

update-email

Update an email

idempotent
delete-email

Delete an email

idempotent

Capability Spec

am-email.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gravitee.io - Access Management API — email
  description: 'Gravitee.io - Access Management API — email. 8 operations. Lead operation: Find a email for an application.
    Self-contained Naftiko capability covering one Gravitee business surface.'
  tags:
  - Gravitee
  - email
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAVITEE_API_KEY: GRAVITEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: am-email
    baseUri: ''
    description: Gravitee.io - Access Management API — email business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId-environments-environmentId-domains-domain-applicati
      path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/applications/{application}/emails
      operations:
      - name: findapplicationemail
        method: GET
        description: Find a email for an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: application
          in: path
          type: string
          required: true
        - name: template
          in: query
          type: string
          required: true
      - name: createapplicationemail
        method: POST
        description: Create a email for an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: application
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organizations-organizationId-environments-environmentId-domains-domain-applicati
      path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/applications/{application}/emails/{email}
      operations:
      - name: updateapplicationemail
        method: PUT
        description: Update an email for an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: application
          in: path
          type: string
          required: true
        - name: email
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteapplicationemail
        method: DELETE
        description: Delete an email for an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: application
          in: path
          type: string
          required: true
        - name: email
          in: path
          type: string
          required: true
    - name: organizations-organizationId-environments-environmentId-domains-domain-emails
      path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/emails
      operations:
      - name: findemail
        method: GET
        description: Find a email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: template
          in: query
          type: string
          required: true
      - name: createemail
        method: POST
        description: Create a email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organizations-organizationId-environments-environmentId-domains-domain-emails-em
      path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/emails/{email}
      operations:
      - name: updatedomainemail
        method: PUT
        description: Update an email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: email
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedomainemail
        method: DELETE
        description: Delete an email
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: email
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.GRAVITEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: am-email-rest
    port: 8080
    description: REST adapter for Gravitee.io - Access Management API — email. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/applications/{application}/emails
      name: organizations-organizationid-environments-environmentid-domains-domain-applicati
      description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-applicati.
      operations:
      - method: GET
        name: findapplicationemail
        description: Find a email for an application
        call: am-email.findapplicationemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          application: rest.application
          template: rest.template
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapplicationemail
        description: Create a email for an application
        call: am-email.createapplicationemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          application: rest.application
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/applications/{application}/emails/{email}
      name: organizations-organizationid-environments-environmentid-domains-domain-applicati
      description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-applicati.
      operations:
      - method: PUT
        name: updateapplicationemail
        description: Update an email for an application
        call: am-email.updateapplicationemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          application: rest.application
          email: rest.email
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapplicationemail
        description: Delete an email for an application
        call: am-email.deleteapplicationemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          application: rest.application
          email: rest.email
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/emails
      name: organizations-organizationid-environments-environmentid-domains-domain-emails
      description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-emails.
      operations:
      - method: GET
        name: findemail
        description: Find a email
        call: am-email.findemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          template: rest.template
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createemail
        description: Create a email
        call: am-email.createemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/emails/{email}
      name: organizations-organizationid-environments-environmentid-domains-domain-emails-em
      description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-emails-em.
      operations:
      - method: PUT
        name: updatedomainemail
        description: Update an email
        call: am-email.updatedomainemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          email: rest.email
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedomainemail
        description: Delete an email
        call: am-email.deletedomainemail
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          email: rest.email
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: am-email-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gravitee.io - Access Management API — email. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: find-email-application
      description: Find a email for an application
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-email.findapplicationemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        application: tools.application
        template: tools.template
      outputParameters:
      - type: object
        mapping: $.
    - name: create-email-application
      description: Create a email for an application
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: am-email.createapplicationemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        application: tools.application
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-email-application
      description: Update an email for an application
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: am-email.updateapplicationemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        application: tools.application
        email: tools.email
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-email-application
      description: Delete an email for an application
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: am-email.deleteapplicationemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        application: tools.application
        email: tools.email
      outputParameters:
      - type: object
        mapping: $.
    - name: find-email
      description: Find a email
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-email.findemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        template: tools.template
      outputParameters:
      - type: object
        mapping: $.
    - name: create-email
      description: Create a email
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: am-email.createemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-email
      description: Update an email
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: am-email.updatedomainemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        email: tools.email
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-email
      description: Delete an email
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: am-email.deletedomainemail
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        email: tools.email
      outputParameters:
      - type: object
        mapping: $.