Platform
AI assistant
An agent that builds, operates, and diagnoses your email — over the API.
The same assistant you use in the dashboard is available programmatically. Ask in plain language — “set up a 3-step onboarding sequence”, “why did my last campaign bounce?” — and it plans and executes within your plan, role, and AI-credit limits, then reports what it did.
POST
/v1/assistant/chatsGET
/v1/assistant/chatsGET
/v1/assistant/chats/:idPATCH
/v1/assistant/chats/:idDELETE
/v1/assistant/chats/:idassistant.ts
const res = await mail.assistant.ask("why did my last campaign bounce?");
console.log(res.reply);noteA failed model call bills 0 credits. The agent only ever acts within the permissions of the key or user making the request.