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

Email Analysis

Analyzes incoming emails for context, sentiment, and required actions.

POST /api/agents/email

Request Body

{ "site_id": "123e4567-e89b-12d3-a456-426614174000", "limit": 5 }
ParameterTypeRequiredDescription
site_idstringYesThe UUID of the site.
limitnumberNoMax emails to analyze (default: 5).
lead_idstringNoFilter by lead UUID.
agentIdstringNoThe UUID of the agent.
user_idstringNoThe UUID of the user.
analysis_typestringNoType of analysis to perform.
since_datestringNoISO date string to filter emails.

Response

Returns the analysis results and processed emails.

Last updated on