# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Nylas Smart compose API version: 1.0.0 extends: openapi/nylas-smart-compose-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-09-26' generator: build-phrasing.py label: Generated by API Evangelist operations: 2 - target: $.paths['/v3/grants/{grant_id}/messages/smart-compose'].post update: x-apievangelist-phrasing: intent: Draft a new email with AI from a prompt effect: read questions: - Can AI write a new email for me from a short prompt? - How do I generate email text from a description of what I want to say? instructions: - text: Write a new email for {grant_id} based on {prompt}. slots: grant_id: path.grant_id prompt: requestBody.prompt - text: 'Compose a fresh message in mailbox {grant_id}: {prompt}.' slots: grant_id: path.grant_id prompt: requestBody.prompt method: generated generated: '2026-09-26' - target: $.paths['/v3/grants/{grant_id}/messages/{message_id}/smart-compose'].post update: x-apievangelist-phrasing: intent: Draft an AI reply to a specific email effect: read questions: - Can AI suggest a reply to an email I received? - How do I generate a response to a particular message from a prompt? instructions: - text: Write a reply to message {message_id} in {grant_id} that says {prompt}. slots: message_id: path.message_id grant_id: path.grant_id prompt: requestBody.prompt - text: Suggest an answer to email {message_id} for mailbox {grant_id}. slots: message_id: path.message_id grant_id: path.grant_id method: generated generated: '2026-09-26'