naftiko: 1.0.0-alpha2 info: label: Twilio SendGrid Email API — Mail Send description: 'Twilio SendGrid Email API — Mail Send. 1 operations. Lead operation: Twilio Send an Email. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - Mail Send created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWILIO_API_KEY: TWILIO_API_KEY capability: consumes: - type: http namespace: sendgrid-mail-send baseUri: https://api.sendgrid.com/v3 description: Twilio SendGrid Email API — Mail Send business capability. Self-contained, no shared references. resources: - name: mail-send path: /mail/send operations: - name: sendemail method: POST description: Twilio Send an Email outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.TWILIO_API_KEY}}' exposes: - type: rest namespace: sendgrid-mail-send-rest port: 8080 description: REST adapter for Twilio SendGrid Email API — Mail Send. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/mail/send name: mail-send description: REST surface for mail-send. operations: - method: POST name: sendemail description: Twilio Send an Email call: sendgrid-mail-send.sendemail with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: sendgrid-mail-send-mcp port: 9090 transport: http description: MCP adapter for Twilio SendGrid Email API — Mail Send. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: twilio-send-email description: Twilio Send an Email hints: readOnly: false destructive: false idempotent: false call: sendgrid-mail-send.sendemail with: body: tools.body outputParameters: - type: object mapping: $.