Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
MCP ServerToolsSend EmailPOST

Send Email

Send an email to a recipient. Required: email (recipient), subject, message. Optional: from (sender name), lead_id, conversation_id for tracking.

Input Schema

ParameterTypeDescription
emailstringRecipient email address
subjectstringEmail subject
messagestringEmail body (HTML or plain text)
fromstringSender display name
lead_idstringLead UUID for tracking
conversation_idstringConversation UUID for tracking
agent_idstringAgent UUID for tracking

REST Endpoint

POST /api/agents/tools/sendEmail

The site_id field is required when calling via REST.

POST /api/agents/tools/sendEmail Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "site_id": "YOUR_SITE_ID", "email": "recipient@example.com", "subject": "Hello from Makinari", "message": "<p>Hi there!</p>", "from": "Sales Team", "lead_id": "LEAD_UUID" }

Response:

{ "success": true, "status": "sent", "envelope_id": "...", "email_id": "..." }
Last updated on