Email sync inclusion policies#
Email sync inclusion policies let your organization control which emails Context Sync synchronizes automatically based on their content. By synchronizing only emails that match configured rules, your organization can keep Salesforce activities focused on relevant business correspondence.
For example, your organization can configure policies to synchronize emails related to a specific project, program, or business process.
How email sync inclusion policies work#
Email sync inclusion policies use regular expression rules to evaluate email content and determine whether an email is eligible for automatic synchronization.
When email sync inclusion policies are enabled, Revenue Grid evaluates the following email content:
Subject
Plain-text body
An email is eligible for synchronization when at least one configured inclusion rule matches at least one of these fields. If none of the configured rules match, Revenue Grid skips the email.
Note
Matching an inclusion rule doesn’t guarantee that the email will be synchronized. After an email passes the inclusion check, Revenue Grid applies email sync policies and other standard synchronization checks.
How inclusion and exclusion policies work together#
Email sync inclusion policies and email sync policies serve different purposes in the email synchronization process.
Policy |
Purpose |
Result when a rule matches |
|---|---|---|
Email sync inclusion policies |
Determine whether an email is eligible for synchronization based on its content |
The email proceeds to the next synchronization check |
Email sync policies |
Prevent synchronization when restricted or sensitive content is detected |
The email isn’t synchronized |
Revenue Grid evaluates the policies in the following order:
Email sync inclusion policies determine whether the email is eligible for synchronization.
Email sync policies check the email for restricted or sensitive content that must not be synchronized.
If the email passes both checks, Revenue Grid continues standard synchronization processing.
An exclusion policy always takes precedence over an inclusion policy. An email that matches an inclusion rule is still skipped if it also matches an exclusion rule.
Inclusion result |
Exclusion result |
Outcome |
|---|---|---|
Match |
No match |
Continue with standard synchronization |
Match |
Match |
Skip the email |
No match |
Not evaluated |
Skip the email |
Emails affected by inclusion policies#
Email sync inclusion policies apply to general server-side automatic synchronization of incoming and outgoing emails.
The policies are supported for:
Microsoft 365 mailboxes
Gmail mailboxes
The policies don’t apply when a user explicitly chooses to save an email to Salesforce. For example, the policies don’t prevent saving when a user:
saves an email through the Context Panel
assigns the Salesforce category or label to an email
uses Quick save to Salesforce
selects Auto-save new emails within this thread
For an overview of all available ways to save emails to Salesforce, see Ways to save an email in Salesforce
When a user enables Auto-save new emails within this thread, subsequent emails are processed according to the conversation auto-save logic. For details see Save all emails in a thread function explained.
When a user explicitly saves an email, Revenue Grid bypasses both email sync inclusion policies and email sync policies. Other product restrictions, such as unsupported email types or synchronization availability, can still prevent an email from being saved.
What happens after an email is skipped#
When Revenue Grid evaluates an email against email sync inclusion policies, the resulting decision isn’t automatically reconsidered later.
If an email is skipped because it doesn’t match an inclusion rule, changing the rules or disabling email sync inclusion policies doesn’t cause Revenue Grid to automatically re-evaluate or synchronize that email.
If needed, a user can explicitly save a previously skipped email to Salesforce using a supported saving method.
Policy context for delegated and application access#
Revenue Grid applies email sync inclusion policies in the context of the user whose mailbox is being synchronized, regardless of how Revenue Grid accesses the mailbox.
This behavior applies when:
A mailbox owner shares access to their mailbox with another user
Revenue Grid accesses a Microsoft 365 mailbox through Microsoft Graph app-only access
Revenue Grid accesses a Gmail mailbox through a Google service account with domain-wide delegation
For delegated mailbox access, Revenue Grid applies the mailbox owner’s policy, not the delegate’s policy.
For Microsoft Graph app-only access and Google domain-wide delegation, Revenue Grid applies the policy configured for the user whose mailbox is being synchronized. It doesn’t apply a policy associated with the application or service account used to access the mailbox.
Limitations#
Email sync inclusion policies currently have the following limitations:
Rules can’t be organized into rule groups or dependencies.
Rule priorities can’t be configured.
Rules can’t trigger different actions.
Attachments aren’t evaluated.
Administrators and users can’t configure policies on their own.
Configuration#
Email sync inclusion policies can be configured at the organization, preset, profile, or user level.
In the current version, there is no administrator or end-user interface for configuring these policies. To enable, disable, or change Email sync inclusion policies, contact Revenue Grid Support.
The rules use regular expressions to match the required content. Revenue Grid Support configures the rules according to your organization’s synchronization requirements.
Configuration issues#
If email sync inclusion policies are incorrectly configured, Revenue Grid stops email synchronization for the affected user and reports a sync issue.
The following issues can occur:
Issue |
Error code for Microsoft 365 |
Error code for Gmail |
Error message |
|---|---|---|---|
No inclusion rules configured |
ISE-069 |
ISG-005 |
Inclusion filtering is enabled but the |
Invalid configuration |
ISE-070 |
ISG-006 |
Bad JSON payload detected for the |
Users can find these issues under Settings → Personal settings → Context Sync settings → Issues.
Administrators can find the issues under Settings → Administration → Users. Select the affected user, and then open the Statistics or Context Sync issues tab.
To resolve either issue, contact Revenue Grid Support to correct the inclusion policy configuration or switch off inclusion filtering. After the configuration is corrected, email synchronization can resume.
Microsoft 365
Google