When a live session ends, your agent shouldn't go silent. Wire MultiMail into your LiveKit worker to send auditable follow-ups, summaries, and confirmations after every conversation.
LiveKit Agents is a Python framework for building realtime voice and multimodal agents on top of LiveKit's media infrastructure. Agents run as workers that join rooms, listen for speech, invoke tools, and respond in voice — all within low-latency sessions optimized for live interaction.
The gap most voice agent builders hit: realtime sessions are ephemeral, but their outcomes need to persist. A scheduling agent books a call — someone needs a confirmation email. A support agent resolves an issue — the customer expects a written summary. A sales agent qualifies a lead — the CRM needs a follow-up sent.
MultiMail's REST API gives your LiveKit worker a direct path from session end to auditable email delivery. Use gated_send mode to let humans review outbound emails before they leave — a clean trust boundary between autonomous voice handling and permanent written communication.
LiveKit sessions are event-driven and short-lived. MultiMail's POST /v1/mailboxes/{mailbox_id}/send endpoint accepts a POST at session end, decoupling your realtime logic from async email delivery without requiring a separate queue.
Voice agents move fast. Email is permanent. gated_send mode lets your agent compose the follow-up autonomously, but holds delivery until a human approves via the MultiMail dashboard or API — giving you automation speed with human accountability.
MultiMail fires approval webhooks to your server when a gated email is reviewed. Your LiveKit worker can subscribe to these events and trigger downstream actions — CRM updates, session archival, next-step scheduling — without polling.
Provision dedicated mailboxes via the POST /v1/mailboxes endpoint — agent@yourdomain.com or agent@multimail.dev. Replies from recipients show up in the mailbox's GET /v1/mailboxes/{mailbox_id}/emails listing, so your agent can continue the thread after the voice session ends.
Use GET /v1/mailboxes/{mailbox_id}/threads/{thread_id} to pull the full email history when a contact rejoins a session. Your LiveKit agent can greet a returning caller with context from prior written exchanges — no separate memory layer needed.
No code, no dashboard. Paste this to your AI agent — it connects MultiMail, creates an inbox, and builds the flow for you.
Install the LiveKit Agents package and sign up for MultiMail to get a live API key. You'll use the key to authenticate REST calls from your worker.
Create a dedicated mailbox your agent will send from. You can use a multimail.dev subdomain or bring your own domain.
Expose email sending as a callable tool. The LLM decides when to invoke it; MultiMail handles delivery in gated_send mode so humans approve before anything sends.
Set your webhook URL in the MultiMail dashboard so approval and rejection events POST to your server. Verify the signature on every request.
Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a hosted MCP server. Formally verified in Lean 4.