Email Inbox

Give your teammate an email address. Send it an email and it gets to work.

How It Works

  1. Create a teammate with instructions for handling emails
  2. Generate an email inbox — the teammate gets a unique @m8tes.ai address
  3. Emails to that address trigger a run with the email content as input
  4. 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