Core concepts
The vocabulary OpenEmail uses: organizations, domains, addresses, mailboxes, routes, patterns, messages, labels, threads, and more.
The nouns these docs use, and how they relate.
The account model
- Organization. Your team's account at OpenEmail, where you all manage your applications. Members, invites, and account settings live in the app.
- Domain. Your own domain where you want to create mailboxes. Connect your domain once, then create applications that are truly yours. This is the first thing to set up, since addresses and mailboxes are built on it: see Add your domain. Alternatively, you can try OpenEmail using one of our subdomains to see how it works.
- Address. An email address such as
you@yourcompany.com. An address is not a mailbox. It is a routable identifier that you claim and point at a destination. One mailbox can have many addresses pointing at it. - Mailbox. The store that holds messages, created via API. The core resource. A mailbox has one primary address as its canonical label, plus any number of other addresses routed to it. A mailbox can also exist with no address at all, as a bare store you bind addresses to later.
- Route. Binds one exact address to a destination: a mailbox, a webhook, a remote address to forward to, or a group. Creating a mailbox with an address creates the route atomically, which is why a new mailbox receives mail immediately.
- Pattern. Binds a local-part glob like
team-*to a destination, so addresses that do not exist yet are already covered. Patterns carry a priority, and the highest-priority match wins. - Message. An email in a mailbox, available as clean JSON. The unit you, your agents, and your applications act on.
- API key. Authenticates your requests. Create one in the app or with the CLI.
Working with messages
- Label. How messages are organized. Labels are the folders your email client sees.
- Thread. A conversation, grouped for you.
- Sieve script. Server-side filtering rules that run at delivery time, before anything reaches your code.
- Webhook. A push destination. Instead of polling, OpenEmail POSTs the message to your endpoint.
Own your email. Program all of it.