Handling email aliases by Context Sync#

Many sales representatives and other professionals use email aliases in business correspondence. This means one person can send and receive emails or manage calendar activities through one email account while using multiple email addresses.

In some cases, the user’s email address in their Salesforce account can differ from the address used in their email account.

Context Sync uses email aliases to identify users correctly and process activities between their Salesforce and email accounts.

Hint

Refer to the Microsoft and Google documentation to learn more about email aliases and how they can be used.

Why Context Sync uses email aliases#

Context Sync uses email aliases to associate multiple email addresses with the same person and match them to the corresponding Salesforce user.

This helps Context Sync process emails and calendar activities correctly and prevents issues such as:

  • Duplicate calendar events.

  • A meeting update being processed as a cancellation followed by a new invitation.

  • Activities being associated with the wrong Salesforce user.

Context Sync also uses retrieved email aliases to identify internal email domains and add them to the blocklist in Context Sync settings.

By default, Context Sync adds internal domains to the blocklist only once. You can remove them if needed. To learn more about email blocklisting, see How email and domain blocklisting works.

Retrieving email aliases#

Context Sync automatically retrieves email aliases and saves them in its internal database.

The system collects email aliases as follows:

  1. Context Sync gets the connected email addresses from My connectivity, where the user’s Salesforce and email account connections are listed.

  2. Using the email address from the connected email account, Context Sync sends an API request to the email server to retrieve aliases.

  3. Context Sync removes duplicate addresses and saves the resulting list in its internal database.

The number of addresses Context Sync can retrieve depends on the connection type:

  • EWS: Up to three email addresses can be retrieved.

  • Microsoft Graph: No limitations

  • Google API: No limitations

Note

When Context Sync connects through EWS, it can collect up to four email addresses: up to three addresses retrieved from Microsoft Exchange Server and one address from the connected Salesforce account.

Updating email aliases#

Context Sync refreshes the stored email alias list automatically when:

  • A user is activated or registered.

  • A user changes or renews their credentials.

  • An administrator selects Check mailbox connectivity for a user in the administration settings.

  • The scheduled weekly refresh runs.