Routes determine what happens when an email arrives at a specific address on your domain. You can forward emails, send them to webhooks, or store them in MailBreeze—and you can configure different routes for different addresses.Documentation Index
Fetch the complete documentation index at: https://docs.mailbreeze.com/llms.txt
Use this file to discover all available pages before exploring further.
How Routes Work
When MailBreeze receives an inbound email, it evaluates routes in this order:- Exact match — Does a route exist for this exact address? (e.g.,
support@yourdomain.com) - Catch-all — Does a wildcard route exist? (e.g.,
*@yourdomain.com) - Default — Use the domain’s default route
Route Types
Email Forwarding
Forward incoming emails to one or more email addresses.| Setting | Description |
|---|---|
| Forward to | Comma-separated list of email addresses |
| Preserve headers | Keep original From/Reply-To headers (may affect deliverability) |
| Add prefix | Prepend text to subject line (e.g., [Support]) |
Webhook Delivery
Send email data to your server as an HTTP POST request.| Setting | Description |
|---|---|
| URL | Your webhook endpoint (must be HTTPS) |
| Secret | Shared secret for request signing (optional but recommended) |
| Include attachments | Send attachment data inline or as download URLs |
MailBreeze Inbox
Store emails in MailBreeze for viewing in the dashboard. This is useful for:- Manual review before automating
- Low-volume addresses
- Compliance archiving
- Backup for webhook failures
.eml files or retrieve via API.
Create a Route
Configure the Route
Address pattern: Enter the address to match
- Exact address:
support@yourdomain.com - Catch-all:
*@yourdomain.com(matches any address) - Pattern:
support+*@yourdomain.com(matches support+anything)
- Forward to email
- Send to webhook
- Store in MailBreeze
Route Examples
Customer Support System
Route support emails to your helpdesk via webhook:| Address | Destination | Configuration |
|---|---|---|
support@yourdomain.com | Webhook | https://api.helpdesk.com/inbound |
help@yourdomain.com | Webhook | https://api.helpdesk.com/inbound |
Team Forwarding
Forward department emails to team inboxes:| Address | Destination | Forward To |
|---|---|---|
sales@yourdomain.com | sales-team@company.slack.com | |
hr@yourdomain.com | hr-team@gmail.com | |
legal@yourdomain.com | legal@lawfirm.com, ceo@company.com |
Reply Tracking
Capture replies to transactional emails:| Address | Destination | Configuration |
|---|---|---|
reply+*@yourdomain.com | Webhook | https://api.yourapp.com/email-replies |
+* pattern matches addresses like reply+order123@yourdomain.com, allowing you to include metadata in the reply-to address.
Catch-All with Exceptions
Store most emails, but route specific addresses differently:| Address | Destination | Priority |
|---|---|---|
support@yourdomain.com | Webhook | 1 (exact match) |
sales@yourdomain.com | Forward | 2 (exact match) |
*@yourdomain.com | MailBreeze Inbox | 3 (catch-all) |
Multiple Destinations
A single route can send emails to multiple destinations simultaneously:
- Archive emails in MailBreeze AND process via webhook
- Forward to multiple team members
- Send to primary webhook with backup forwarding
Route Priority
Routes are evaluated from most specific to least specific:- Exact match —
support@domain.combeats*@domain.com - Pattern match —
support+*@domain.combeats*@domain.com - Catch-all —
*@domain.com - Default route
Disable vs Delete
- Disable a route to temporarily stop it without losing configuration
- Delete a route to permanently remove it
API Management
You can also manage routes via the API:Create a route
Next Steps
Webhook Integration
Build your webhook endpoint to process incoming emails
Inbound API
Retrieve and manage inbound emails programmatically