Skip to main content
Mailboxes are project-level email addresses that route inbound mail into rooms. They belong at the project level because the address belongs to the project, even though the work is delivered to a queue in a specific room. Use mailboxes when an agent listens on a mail: channel, or when you want inbound email to land in a queue that something in the room already consumes.

Create a mailbox

This creates a project mailbox and routes messages sent to support@mail.meshagent.com into the support-inbox queue in the customer-support room.

Inspect and manage mailboxes

Inspect outbound delivery status

When Mailgun delivery tracking is enabled for the deployment, inspect each recipient’s current status and provider event timeline:
The delivery list is newest submission first. A submission with multiple recipients has one delivery row per recipient because their outcomes and retry timelines can differ. Use --status, --recipient, or --message-id to narrow the list, and use --output json when calling the commands from a script:

Delivery statuses and events

A delivery is the current rollup for one recipient. Its status is one of: The delivery also contains the latest provider details, including attempt_count, SMTP response codes, failure reason and description, MX host, and TLS and certificate-verification results when the provider supplies them. Delivery events are the chronological history behind that current status. The API normalizes provider notifications into these event types: Each event includes occurred_at and received_at, its resulting status, and the provider and provider event ID. When available, it also includes the attempt number, SMTP and enhanced SMTP codes, reason, description, MX host, TLS use, and certificate-verification result. Events are returned oldest first, ordered by occurred_at and then event ID. In Studio, open the mailbox options menu and select Deliveries…. Select a delivery row to open its event timeline.

Permissions

  • To create, update, or delete a mailbox for a room, you need permission to administer that room.
  • To list mailboxes across the whole project, you need developer access.
  • To read delivery status as a user, you need the OAuth scope mailboxes:read and the project mailbox_inventory relation. Room membership and room read access do not grant delivery visibility. Project API keys retain project-wide access.

Where to manage mailboxes

  • Use MeshAgent Studio for the main UI flow.
  • Use the CLI when you want quick setup or scripting.
  • Use the REST API when you need programmatic mailbox management.