naftiko: 1.0.0-alpha2 info: label: Brevo Transactional Email API — Transactional Emails description: 'Brevo Transactional Email API — Transactional Emails. 3 operations. Lead operation: Send a transactional email. Self-contained Naftiko capability covering one Brevo business surface.' tags: - Brevo - Transactional Emails created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BREVO_API_KEY: BREVO_API_KEY capability: consumes: - type: http namespace: transactional-email-transactional-emails baseUri: https://api.brevo.com/v3 description: Brevo Transactional Email API — Transactional Emails business capability. Self-contained, no shared references. resources: - name: smtp-email path: /smtp/email operations: - name: sendtransactionalemail method: POST description: Send a transactional email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: smtp-email-batch path: /smtp/email/batch operations: - name: batchsendtransactionalemails method: POST description: Batch send transactional emails outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: smtp-email-messageId path: /smtp/email/{messageId} operations: - name: gettransactionalemailcontent method: GET description: Get the content of a sent transactional email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: messageId in: path type: string description: The unique message identifier of the sent transactional email. required: true authentication: type: apikey key: api-key value: '{{env.BREVO_API_KEY}}' placement: header exposes: - type: rest namespace: transactional-email-transactional-emails-rest port: 8080 description: REST adapter for Brevo Transactional Email API — Transactional Emails. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/smtp/email name: smtp-email description: REST surface for smtp-email. operations: - method: POST name: sendtransactionalemail description: Send a transactional email call: transactional-email-transactional-emails.sendtransactionalemail with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/smtp/email/batch name: smtp-email-batch description: REST surface for smtp-email-batch. operations: - method: POST name: batchsendtransactionalemails description: Batch send transactional emails call: transactional-email-transactional-emails.batchsendtransactionalemails with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/smtp/email/{messageid} name: smtp-email-messageid description: REST surface for smtp-email-messageId. operations: - method: GET name: gettransactionalemailcontent description: Get the content of a sent transactional email call: transactional-email-transactional-emails.gettransactionalemailcontent with: messageId: rest.messageId outputParameters: - type: object mapping: $. - type: mcp namespace: transactional-email-transactional-emails-mcp port: 9090 transport: http description: MCP adapter for Brevo Transactional Email API — Transactional Emails. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: send-transactional-email description: Send a transactional email hints: readOnly: false destructive: false idempotent: false call: transactional-email-transactional-emails.sendtransactionalemail with: body: tools.body outputParameters: - type: object mapping: $. - name: batch-send-transactional-emails description: Batch send transactional emails hints: readOnly: false destructive: false idempotent: false call: transactional-email-transactional-emails.batchsendtransactionalemails with: body: tools.body outputParameters: - type: object mapping: $. - name: get-content-sent-transactional-email description: Get the content of a sent transactional email hints: readOnly: true destructive: false idempotent: true call: transactional-email-transactional-emails.gettransactionalemailcontent with: messageId: tools.messageId outputParameters: - type: object mapping: $.