Email Inbox
Give your teammate an email address so it can receive and process inbound emails automatically.
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
The email trigger is task-level by API design. Think of the task as "the teammate's inbox" — create it once and emails flow through automatically.
Allowed Senders
By default (no allowed_senders), only emails from the API key owner's registered email are accepted. 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 the teammate uses email tools to reply, the response goes back to the original sender in the same email thread. The conversation feels natural — the sender emails the teammate and gets a reply.
What's Next
- Webhook Triggers — trigger runs from external systems
- Scheduling — automate tasks with cron and intervals
- Memories — personalize teammate behavior per end-user
