Sales Email Rules
In this guide we will cover:
Configuration Settings Guide:
Related Guides:
The functionality outlined in this guide is available from v2.260+.
What are Sales Email Rules?
Sales Email Rules are a way of controlling the behaviour when an email is received by a Sales Mailbox. In order to use Sales Email Rules, you must set the Mailbox matching type to "Sales Email Rules". This will allow the incoming emails to this mailbox to be matched based on the configured rules.
Never-Log List
In Configuration > Sales > Sales Never-Log List, a list of email addresses or domains which will always be ignored by Sales Email Rules can be configured. Any Agent with a linked sales mailbox can set up their own list in My Configuration > My Never-Log List.

Fig 1. Agent's My Never-Log List
Configuring Sales Email Rules
To create Sales Email Rules, head to Configuration > Sales > Sales Email Rules, and click "+ New".
You will need to set a name and sequence for your Rule. The sequence determines the order in which the rules are applied, with lower numbers being applied first. The first rule to be matched will be applied, so it is important to set the lowest number sequence for more important rules.
Make sure the "Enabled" checkbox is selected, as this allows the rule to be used.

Fig 2. New Sales Email Rule
Next you will need to determine when this rule should be applied. In the Email Details section, you can choose to restrict when the rule is applied based on specified criteria and values.
- Direction: Determines if the rule applies to Outbound Emails, Inbound Emails, or both.
- Mailbox: Determines the Mailbox this rule applies to. If this field is left empty the rule will apply to every Mailbox.
- Customer address contains: The rule will only apply if the members outside of your own company included on the email (including CC'd addresses) contain the value specified here.
- Subject contains: The rule will only apply if the email subject contains the value specified here.
- Customer Relationships: The rule will only apply if all the members on the email belong to a Customer with the Customer relationship set here. For more information on configuring these Customer Relationships, see the guide linked here.
Next you will need to set the behaviour to occur when the rule is applied. To do this, add to the Rule Outcomes table.

Fig 3. Rule Outcomes
This will open the outcome type dropdown in a modal window, with the following outcomes available:
- Log to an open Opportunity: Adds the email to the matched Opportunity Ticket.
- Add a note to a User: Adds the email to the User's CRM Notes.
Add a note to a User's Site: Adds the email to the User's Site CRM Notes.
Add a note to a Customer: Adds the email to the Customer's CRM Notes.
Send to My Inbox: Sends the email to the Agent's "My Inbox", so it can be manually linked.
Ignore the email: Ignores the email and does not process it.
Note: The outcomes which "Add a note" can be used on their own, alongside "Log to an open Opportunity", or alongside "Send to My Inbox".
Log to an open Opportunity
If the rule is set to "Log to an open Opportunity", you can choose to "Add the people on the email as stakeholders" on the matched Opportunity Ticket. This will add all the email addresses outside of your own companies domain, as Stakeholders on the matched Ticket. For more information on Stakeholders, see the guide linked here.
In order to determine how the existing Opportunity is matched, use the "look in" dropdown. Once set, you will need to decide what will happen if more than one Opportunity is matched. To do this, choose the desired option from the "If more than one Opportunity matches" field.
The Opportunity's Tags can also be used to inform which Opportunity is matched. If the "Subject or body contains one of the Opportunity's tags" checkbox is selected, when the email subject or body contains a tag set on an Opportunity, the email will match to this Opportunity.
Sales Email Rules can be restricted to individuals with particular Stakeholder Roles, by adding the relevant roles into the "Stakeholder Roles" field.

Fig 4. Opportunity Criteria
Additional criteria can be set which must be matched in order for the email to be logged on the Opportunity. These criteria can be added as criteria groups in the Groups table.
Note: Criteria Groups are a collection of conditions, all of which must be met in order for the group to be met. However, only one Criteria Group must be met for the Opportunity to match.
Testing Rules
Once you have created your Sales Email Rules, you can test how these rules would work in your system. In Configuration > Sales > Sales Email Rules, click "Test and order" in the top left.

Fig 5. Test and order button
This will open the Test and order screen where the rules can be tested against example emails.

Fig 6. Test and order screen
Since the first rule to match will be the only one applied you can reorder the rules by dragging and dropping them in place. In order to apply the new order make sure to click the "Save Order" button.
Note: This will change the sequence against the rules themselves, the saved order will be maintained for all Sales Mailbox emails.

Fig 7. Reordering rules
When you are happy with the order in which the rules will be checked, you can write or upload an example email and run the test.
The outcome will show under the Result section, and the process can be seen on the left hand side.

Fig 8. Testing rules