Email infrastructure setup is an admin-only operation. You need instance-admin access to provision receiving domains, mailboxes, and webhooks.
How email works in OpenIndex
Setting up email infrastructure
Before creating mailboxes, an admin must provision the receiving email domain and configure the inbound webhook.1
Provision a receiving domain
2
Verify the domain
After adding the required DNS records, verify the domain:
3
Set up the inbound webhook
Creating a mailbox
A mailbox defines an inbound email address and its default routing target within a domain.Configuring routing rules
Routing rules let you direct inbound email to specific workflows or domains based on match criteria. Rules are attached to a mailbox.How inbound email becomes a conversation
When an email arrives at a provisioned address:- Resend forwards it to the inbound webhook at
/webhooks/resend/email-received. - Convex normalizes the message into a
conversationsrecord with participants and messages. - If a routing rule matches, the conversation is linked to a work item in the target domain and workflow.
- The work item’s conversation thread is updated with the inbound message.
Sending an outbound message
To send a reply from a work item’s conversation thread:Viewing a work item’s conversation
Comment visibility
Comments on a work item have aninternal or external visibility setting. External comments are included in the outbound email thread visible to conversation participants.