Evaluate an inbound email manually
Evaluate an inbound email manually with the Mailly email API for AI agents: POST /agents/runs. Parameters, request body, responses and code samples.
POST
Returns 409 if the agent already has a run for this email; clients should rerun instead.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
application/json- body
agent_id?stringemail_id?string[key: string]?unknownAccepted
application/json- response
success*booleanrun_id*string[key: string]?unknowncurl -X POST 'https://api.mailly.site/agents/runs' \ -H 'Content-Type: application/json' \ -d '{ "property1": null, "property2": null}'{ "success": true, "run_id": "string", "property1": null, "property2": null}Discard a draft POST
Discard a draft with the Mailly email API for AI agents: POST /agents/runs/{id}/discard. Parameters, request body, responses and code samples.
Issue a short-lived token for the agent conversation POST
Issue a short-lived token for the agent conversation with the Mailly email API for AI agents: POST /agents/{id}/console-token. Parameters, request body, responses and code samples.