AgentMailChannel turns a conversation into one email thread in an AgentMail inbox. Every post is emailed to the people you choose, and their replies join the conversation the agents read next. It uses the AgentMail API, so there is no mail server to configure.
Reference: AgentMailChannel.
Setup
- Create an inbox at agentmail.to, for example
research@agentmail.to. - Create an API key and export it:
Two agents email you
A person approves before the work continues
A GroupChat debate in your inbox
Each message that wins a turn is one email in the thread.A ConcurrentWorkflow sends every view
Pick up the thread later
base_url="https://api.agentmail.eu".
Tips
- Each read is an API call. An agent reads the whole thread on every run.
- Treat replies as untrusted input. Anyone who replies on the thread adds to what the agents read.
Next steps
- SmtpChannel, the same pattern with a mailbox you already run
- Channels with every structure