Give your AutoGen agents the ability to send, read, and manage email through MultiMail — with configurable human approval before any message leaves the outbox.
AutoGen is Microsoft's framework for building multi-agent conversational systems. Agents communicate through messages and can include human proxies, enabling complex multi-turn conversations between specialized agents. MultiMail extends AutoGen's capabilities by providing a production email infrastructure that agents can use to communicate with the outside world.
By integrating MultiMail with AutoGen, your agent teams can draft and send emails, check inboxes, manage contacts, and handle threads — all coordinated through AutoGen's group chat and nested chat patterns. The default gated_send mode ensures that emails drafted by any agent in the group require human approval before delivery.
Connect AutoGen agents to MultiMail by registering custom functions that call the REST API, or use the @multimail/mcp-server for tool discovery. Both approaches work with AutoGen's AssistantAgent and ConversableAgent patterns.
AutoGen's group chat lets multiple specialized agents collaborate on email tasks. One agent triages inbound mail, another drafts replies, and a third manages contacts — all coordinated through AutoGen's conversation protocol with MultiMail handling delivery.
AutoGen's UserProxyAgent already supports human-in-the-loop for chat. MultiMail extends this to email specifically, letting agents draft emails that flow through a dedicated approval queue rather than requiring inline chat approval.
Start your AutoGen agent team in gated_send mode where every email requires approval. As the team proves reliable, graduate to monitored mode where emails send but humans can review, or autonomous mode for fully trusted workflows.
MultiMail tracks email threads automatically. Your AutoGen agents can retrieve full email conversation history with get_thread, enabling context-aware replies that reference prior messages in the chain.
Every email action taken by your AutoGen agents is logged in MultiMail's audit log. This provides accountability for multi-agent systems where it may be unclear which agent initiated a particular email.
No code, no dashboard. Paste this to your AI agent — it connects MultiMail, creates an inbox, and builds the flow for you.
Sign up at multimail.dev, create a mailbox, and generate an API key from your dashboard. Your key will start with mm_live_.
Install AutoGen and the HTTP library for calling the MultiMail API.
Create Python functions that wrap MultiMail API endpoints for sending, reading, and replying to emails. These will be registered as tools with your agents.
Set up an AssistantAgent with a system prompt explaining the email context and oversight mode. Register your email functions as callable tools.
Start the conversation with initiate_chat. Review and approve any pending emails in the MultiMail dashboard when using gated_send mode.
Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a hosted MCP server. Formally verified in Lean 4.