Mailjet · Capability

Mailjet Email API — Event

Mailjet Email API — Event. 1 operations. Lead operation: Get the event history of a message. Self-contained Naftiko capability covering one Mailjet business surface.

Run with Naftiko MailjetEvent

What You Can Do

GET
Getmessagehistory — Get the event history of a message
/v1/messagehistory/{id}

MCP Tools

get-event-history-message

Get the event history of a message

read-only idempotent

Capability Spec

email-event.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailjet Email API — Event
  description: 'Mailjet Email API — Event. 1 operations. Lead operation: Get the event history of a message. Self-contained
    Naftiko capability covering one Mailjet business surface.'
  tags:
  - Mailjet
  - Event
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILJET_API_KEY: MAILJET_API_KEY
capability:
  consumes:
  - type: http
    namespace: email-event
    baseUri: https://api.mailjet.com/v3.1
    description: Mailjet Email API — Event business capability. Self-contained, no shared references.
    resources:
    - name: messagehistory-id
      path: /messagehistory/{id}
      operations:
      - name: getmessagehistory
        method: GET
        description: Get the event history of a message
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.MAILJET_USER}}'
      password: '{{env.MAILJET_PASS}}'
  exposes:
  - type: rest
    namespace: email-event-rest
    port: 8080
    description: REST adapter for Mailjet Email API — Event. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/messagehistory/{id}
      name: messagehistory-id
      description: REST surface for messagehistory-id.
      operations:
      - method: GET
        name: getmessagehistory
        description: Get the event history of a message
        call: email-event.getmessagehistory
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: email-event-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailjet Email API — Event. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-event-history-message
      description: Get the event history of a message
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: email-event.getmessagehistory
      outputParameters:
      - type: object
        mapping: $.