Advanced: endpoints, sending methods and routing rules
In short: The email wizard handles most situations automatically. If you want more control, for example multiple sender addresses in one organisation, a different sending method per address, or your own rules for which incoming email belongs to which address, use the Advanced mail configuration page. It consists of three sections: Providers, Email endpoints and Inbound routing rules.
Where to find this
Go to Organisation > Channels > Mail and click Advanced settings (top right in the Current setup overview, or at the bottom of the choice screen). The page is called Mail settings (Advanced); the box is called Advanced mail configuration with the explanation Manage endpoints, transports, and routing rules. Use Back to return to the wizard.
Who: from the Organisation admin role. Everything on this page applies per organisation.
If you arrive on this page through a link from a ticket or notification, the top shows You opened advanced settings for: with the email address concerned.
The Advanced mail configuration page (via Organisation > Channels > Mail > Advanced settings) with the three sections Providers, Email endpoints and Inbound routing rules.
The three building blocks
| Building block | What it is |
|---|---|
| Provider (connection) | A connection with a mail system: a Microsoft account with mailbox bindings, a Google mailbox or an SMTP connection. This is where the login details live. |
| Endpoint | An email identity of the organisation, for example support@ or info@. An endpoint determines whether you receive and/or send on that address, which sender name customers see and to whom new tickets are assigned. |
| Sending method (on the screen also transport) | Per endpoint: which provider aishaa sends through. aishaa Mail, SMTP, Outlook or Google. |
| Routing rule | Decides, based on the address an incoming email was sent to (or the sender domain), which endpoint the email ends up with. |
The tip on the page sums up the order: create an Email endpoint (identity) first, then select the active transport/provider for it.
Providers
The Providers section (Manage mail provider connections.) shows three cards with a status and a management button:
| Card | What you see | Button |
|---|---|---|
| Outlook | Connected Microsoft accounts: and Active mailbox bindings: with counts. | Manage Outlook |
| Connected: with the number of Google mailboxes. | Manage Google | |
| SMTP | Connections: with the number of SMTP connections. | Manage SMTP |
If something is wrong, the card shows the label Action required (something needs to be done by you, such as approval or reconnecting) or Warnings, with a short explanation. Examples: Inbound polling is temporarily paused (cooldown) for one or more mailboxes, Inbound polling failed for one or more mailboxes, Import failed for one or more mailboxes, One or more mailboxes may require reconnect or One or more SMTP connections have validation errors. Click the management button to resolve it. See Connect Outlook or Microsoft 365, Connect Gmail or Google Workspace and Send via your own SMTP server.
Email endpoints
The Email endpoints section (Create email identities (support@, info@) and bind an outbound sender to each identity.) shows a list with all endpoints of the organisation. Without endpoints you see No email endpoints with Create at least one endpoint to enable inbound/outbound email.
For each endpoint you see:
| Item | Meaning |
|---|---|
| Email address | The address of the endpoint, with the label Default for the default endpoint. Below it the display name, if one has been filled in. |
| BCC copy to (address) | Only visible if you have set up an archive copy (see the Archive copy (BCC) section below). |
| Inbound: Yes or No | Whether aishaa receives email on this address. |
| Outbound: Yes or No | Whether aishaa sends from this address. |
| Active transport | The sending method of this endpoint, with the dropdowns for changing it (see further on). |
Buttons per endpoint: Make default (only for endpoints that are not the default yet), Edit and Delete. At the top is Add endpoint.
The default endpoint
The default endpoint is the sender aishaa uses when a ticket has no endpoint of its own, for example a ticket you create yourself. There is always exactly one default endpoint. Click Make default next to another endpoint to switch; you see Saved.
Creating an endpoint
- Click Add endpoint. The Create email endpoint dialog opens (Create an endpoint and configure how outgoing mail is sent, in one step.).
- Fill in the Endpoint block:
| Field | Meaning | Default |
|---|---|---|
| Email address | The address of the identity. As you type, aishaa suggests addresses from your connected Outlook mailboxes, Google mailboxes and SMTP connections. Required and must be a valid email address. | empty |
| Display name | Optional. Shown to customers as the sender name. | empty |
| Enable inbound | Whether aishaa receives email on this address. | on |
| Enable outbound | Whether aishaa sends from this address. If this is off, the Transport block is disabled (Outbound is disabled, so no transport is required.). | on |
| Make default endpoint | Makes this endpoint the default sender. | on if this is the first endpoint, otherwise off |
- Fill in the Transport block. Under Send provider, choose one of the four options (see the table below). aishaa already chooses a suitable method itself if the address you entered belongs to a known connection. With SMTP, Outlook and Google you then choose the connection under Connection.
- Leave the Inbound routing rules block switched on if you want email sent to this address to end up with this endpoint automatically. Choose the Match type, enter the value, set the Priority (at least 1, default 10) and leave Enabled on. This block is only visible if Enable inbound is on.
- Click Save. You see Saved.
The Create email endpoint dialog with the blocks Endpoint (Email address, Display name, Enable inbound, Enable outbound, Make default endpoint), Transport (Send provider, Connection) and Inbound routing rules.
The four sending methods
| Option | Meaning | Which connections you can choose |
|---|---|---|
| aishaa Mail | aishaa Mail uses the built-in mail service. No extra connection needed. For your own address the domain does need to be verified (see Send from your own domain via aishaa). | No choice needed. |
| SMTP | Sending via an SMTP connection. Pick the SMTP connection that matches this email address. | Only enabled SMTP connections with the same sender address as the endpoint. |
| Outlook | Sending via an Outlook mailbox. Here you choose the Microsoft account; you manage the mailbox binding separately on the Outlook page. The dialog shows how many mailbox bindings already exist for this address. | All connected Microsoft accounts. |
| Sending via a Google mailbox. Pick the Google mailbox that matches this email address. | Only Google mailboxes with the same address as the endpoint. |
If there is no suitable connection, the dropdown shows No matching connection for this endpoint. In that case, first create the connection via Providers.
Changing the sending method of an existing endpoint
In the Active transport column, each endpoint has a dropdown with the sending method and a dropdown with the connection. Choose the combination you want and click Set. You see Saved. If aishaa cannot save, a tooltip explains why: No matching connection for this endpoint., Select a connection or There are no connected Microsoft accounts available. If Outbound is set to No, the dropdowns are disabled.
With the Outlook method, a notice appears below the dropdowns: No Outlook mailbox binding has been set up for this endpoint yet. (in that case create one on the Outlook page) or the number of active mailbox bindings for this endpoint.
Editing an endpoint
Click Edit. The Edit endpoint dialog opens. You cannot change the address (Email endpoint); for a different address, create a new endpoint.
| Field | Meaning |
|---|---|
| Display name (optional) | The sender name, Example: Support Team. |
| Enable inbound | Whether aishaa receives email on this address. |
| Enable outbound | Whether aishaa sends from this address. |
| Assign new tickets to | A colleague who automatically becomes the owner of every new ticket that arrives on this endpoint. Explanation: Empty leaves new tickets on this channel unassigned. The dropdown can be cleared. |
| Archive copy (BCC) | Optional. A fixed address that gets a BCC copy of every conversation email sent from this endpoint. See below. |
Click Save.
Archive copy (BCC)
With Archive copy (BCC) you automatically send a copy of every conversation email that aishaa sends from this endpoint to a fixed address. Explanation on screen: Every conversation mail sent from this mailbox also goes in BCC to this address, for example to file it in your dossier or CRM system. Don’t use an address that forwards to aishaa.
- Click Edit for the endpoint.
- Under Archive copy (BCC), fill in the address, for example the intake address of your dossier system.
- Click Save. The list now shows BCC copy to with the address for the endpoint.
What you need to know about the archive copy:
- The copy goes along with replies to customers, messages from a workflow, forwarded messages and messages to external parties that leave from this endpoint. Each recipient gets their own email; the copy goes along with every email.
- Test emails and review emails do not get a copy.
- The address does not appear in the ticket as a recipient. It is a setting of the mailbox, not a recipient your colleague chooses.
- You cannot use one of your own mailboxes as the archive address. You then see This is one of your own mailboxes: the copy would come back in as a new message.
- If you no longer want a copy, clear the field and click Save.
Deleting an endpoint
Click Delete and confirm Are you sure you want to delete this endpoint? Routing rules that point to this endpoint then stop working; email sent to that address falls back to the endpoint of the aishaa Mail address. Do not delete the endpoint of the aishaa Mail address itself: it is the safety net for all incoming email.
Inbound routing rules
The Inbound routing rules section (Route inbound emails to an endpoint using match rules and priorities.) decides which endpoint an incoming email ends up with. Without endpoints you see No endpoints (Create an endpoint first, then you can add routing rules.); without rules you see No routes.
How aishaa routes an incoming email
- aishaa determines which address the email was sent to (the To address, or the Cc address if needed). The aishaa Mail address itself does not count, so that forwarded email is assessed on its original address.
- If that address is itself an endpoint with Enable inbound on, the email goes straight to that endpoint, even without a rule.
- Otherwise aishaa goes through the enabled rules in order of Priority, from the lowest number to the highest. The first rule that matches wins.
- If no rule matches, the email goes to the endpoint of the aishaa Mail address.
Adding or editing a rule
- Click Add rule (dialog Add route) or Edit next to an existing rule (dialog Edit route).
- Fill in the fields:
| Field | Meaning |
|---|---|
| Endpoint | The endpoint that matching email goes to. Required. The default endpoint by default. |
| Match type | One of the four match types (see below). |
| Value | The field is called To address, To address contains or Domain, depending on the match type. With Catch-all there is no value. |
| Priority | A number of at least 1. Lower is more important. For a new rule, aishaa suggests the highest existing priority plus 10 (or 10 if there are no rules yet). |
| Enabled | Disabled rules are skipped. |
- Click Save.
The Add route dialog with the fields Endpoint, Match type, the value, Priority and the Enabled switch.
The four match types
| Option | Meaning | Example value |
|---|---|---|
| To address equals | The email was sent to exactly this address. | support@company.com |
| To address contains | The address the email was sent to contains this text. | support@ or info@ |
| Sender domain equals | The sender’s domain equals this value. Must not contain an @; otherwise you see Domain should not contain ‘@’. Example: company.com. | company.com |
| Catch-all | Matches all incoming email (Catch-all rules apply to all inbound mail and ignore the match value.). | no value |
There can only be one enabled catch-all rule. If you try to create a second one, you see A catch-all rule already exists. Edit the existing rule instead. Always give a catch-all rule the highest priority number, otherwise it catches all email before more specific rules get a turn.
The list of rules
The list is sorted by priority. For each rule you see the priority number, the endpoint, Enabled: Yes or No, the match type with the value below it (or Applies to all inbound mail. for a catch-all), and the Edit and Delete buttons. Deleting asks for confirmation: Are you sure you want to delete this route?
Good to know
- Everything the wizard creates (endpoint, rule, sending method, default) appears on this page and can be adjusted here. The wizard never overwrites a routing rule or default endpoint that you set up here yourself.
- If you switch off Enable outbound on all endpoints or remove the last of your own sending routes, the aishaa Mail address automatically takes over sending again.
- If an endpoint already exists for an address, you cannot create a second one with the same address.
- An endpoint without an active sending method cannot send. When replying to a ticket you then see that no active transport has been configured for this identity.
- Routing rules only decide which endpoint an email goes to, not whether an email is blocked or closed. For that there are Incoming email rules.
- Which endpoint aishaa uses when replying to a ticket depends on the endpoint the ticket arrived on; the default endpoint is the safety net if that is missing.
