Email Inbox
Give your teammate an email address. Send it an email and it gets to work.
How It Works
- Create a teammate with instructions for handling emails
- Generate an email inbox — the teammate gets a unique
@m8tes.aiaddress - Emails to that address trigger a run with the email content as input
- The teammate processes the email using its configured tools
Set Up an Email Inbox
Quick Create
To run an agent and get an inbox in a single call — no separate teammate creation step needed:
Python
The teammate is created, its inbox is enabled, the task runs, and the email address comes back in one response. Use this for quick integrations where you need the inbox address right away.
Allowed Senders
Note: Without
allowed_senders, only the API key owner's registered email can trigger the teammate. Emails from unknown senders are silently dropped.
Set allowed_senders to control who can trigger the teammate:
Python
Multi-Tenant Email
Scope email inboxes per end-user with user_id:
Python
Reply Threading
When your teammate finishes, it replies directly in the same thread. Email it, get a response. That's it.
What's Next
- Webhook Triggers — trigger runs from external systems
- Scheduling — automate tasks with cron and intervals
- Memories — personalize teammate behavior per end-user
