Saving emails in Salesforce: An overview#

Revenue Grid Context Panel and Context Sync connect Salesforce with Microsoft Exchange Server, Microsoft 365, or Google email and calendar services to transfer and synchronize data between corresponding object fields.

One of its key capabilities is saving emails and calendar events as Salesforce records and updating them directly from the Context Panel. This article explains how Revenue Grid saves email messages to Salesforce.

Primary emails processing#

An email received or sent in Microsoft Exchange Server / Microsoft 365 or Google consists of the following elements:

  • sender’s email address

  • recipients’ email addresses (the To, CC, and BCC lines)

  • date and time of sending

  • email’s subject line

  • message body and its formatting

  • sender’s signature

  • files attached to the email.

When Context Panel processes a message opened in the email client, it obtains all this data from Microsoft Exchange/Google and based on the email address determines whether the message is internal or blocklisted from Salesforce synchronization.

Then it finds in Salesforce the records related to the email based on the senders’ and recipients’ addresses extracted. For more information about these filtering mechanisms, see Initial search and record filters in the Context Panel.

Emails classified as internal/blocklisted are not saved in Salesforce automatically and the Save email button in the Context Panel is disabled for them.

When such message is opened, to indicate why the message cannot be saved in Salesforce:

  1. In the bottom of the Context Panel, click More .

  2. Select the Observations tab.

There you will see the notification “Some not important emails were filtered” with the list of internal or blocklisted email addresses the message contains.

../../../../_images/5b71aff12c7d3a03f89da34e.png

If the message’s full addresses list contains at least one non-internal/blocklisted email address, the message will be saveable in Salesforce as a brand new record or as one linked to associated existing records.

Hint

To learn how to save such emails in Salesforce without removing their addresses/domains from the blocklist, see How to save internal or blocklisted emails in Salesforce.

“Under the hood” mechanisms of emails saving#

Retrieval of message elements#

When you open Context Panel for a selected email, it retrieves message elements from Microsoft Exchange or Google. It also extracts relevant information from the email signature, such as the sender’s first and last name, job title, phone number, company name, and website, as well as email addresses, links, and phone numbers from the message body.

Context Panel then uses this information to search for related Salesforce records.

Auto-synchronization emails by folders#

Auto-synchronization only handles emails located in the Inbox, Sent and custom Salesforce folders of Outlook/Gmail. It will not process emails assigned the Salesforce category but located in other folders. The same concerns saving all emails in a thread—it applies only to the items in the Inbox and Sent folders of the mail client.

For special email saving scenarios, Revenue Grid also offers on-demand possibility to save any emails located in custom mailbox folders/subfolders. In this email auto-sync scenario, the customer can create new custom folders any time and exclude folders the customer doesn’t want to sync.

One-way email saving#

Unlike calendar items syncing, emails saving and auto-saving is always a one-way Microsoft Exchange/Google → Salesforce process. Saving of an individual email is only performed once, unless you delete its matching entry in Salesforce, and its content is not synchronized in any way in the future.

For example, if you modify a Task/Email message Salesforce object based on an email message, these changes do not get down-synchronized to your Microsoft Exchange Server / Microsoft 365 or Google and only remain in Salesforce.

There is also a special custom scenario where a saved email gets deleted from Salesforce to allow editing its Body via the Context Panel. See Editing already saved email messages via the Context Panel section for complete information.

Re-sent or copied emails saving#

Once an email is saved, it cannot be saved again as a new record (only if deleted manually from Salesforce). When you re-send or copy an already saved email, the fields for linked objects in the original email do not update.

../../../../_images/Re-send-Copy-Email.png

Consequently, the new emails will continue to point to the previously saved objects in Salesforce, such as Contacts, Accounts, Opportunities, etc. In the Context Panel, you will see that the email is already saved to these objects.

Not auto-saved emails#

Emails categories which do not get auto-saved if auto-saving of emails is on:

  • Internal emails and emails from/to addresses/domains blocklisted from syncing at the user, admin or global level

  • Out-of-the-box (with default config), emails and calendar items that have no relevant Business or People records for linking

  • Emails placed into any other folders of your email client but Inbox, Sent, or the custom Salesforce Emails folder

  • Emails that are re-sent or copied from a previously saved email.

  • Service emails

  • S/MIME-signed Microsoft 365 emails when Auto-sync signed emails is turned off in the applicable preset. For details, see How Revenue Grid handles encrypted and S/MIME-signed emails.

  • Encrypted emails, including emails that are both encrypted and S/MIME-signed.

  • Emails that don’t match any configured email sync inclusion rule, when email sync inclusion policies are enabled.

Context Panel and service emails#

Service email messages cannot be saved in Salesforce or processed in any way, so Context Panel cannot be opened for the following types of emails:

When an email of this kind is selected in Outlook, the Open Revenue Grid icon and related icons are greyed out and Context Panel is automatically closed for such emails.

Outbound email autosaving#

The is also a global sync setting available on request that enables autosaving of outbound emails only. Note that enabling this option does not exclude the possibility to save non-outbound emails using the Save button.

Salesforce category/label#

Emails that you saved in Salesforce using the Save button or via any other method are auto-assigned the custom blue Salesforce category in Outlook or the Salesforce label in Gmail, so you can see if you have already processed it.

However, that may happen within 1-30 minutes after saving, since categories get assigned by Context Sync.

Revenue Grid Context Panel and Context Sync can also be used to save emails from a shared Outlook mailbox.

The ForceSync mode#

ForceSync mode means user-initiated saving. It implies that an email gets saved in one of the following ways:

Additional features of emails saving#

Editing already saved EmailMessage via the Context Panel#

Note

In order to edit a saved EmailMessage, you should have sufficient access permissions: be the email’s Owner allowed to delete objects of this type from Salesforce.

You can edit the fields of already saved Enhanced Email messages via the Context Panel: SFDC records linked to email (Related To): both WhatID People Records and WhoID Business Records, Subject, Body, and some other key ones. In this scenario, the email gets deleted and then re-created in Salesforce.

To edit an already saved EmailMessage in Salesforce:

  • Select the corresponding email in the email client.

  • Click on Email is saved in the Context Panel’s header.

  • Click the 🖉 (Edit) icon next to the field and edit it as you need.

  • Click ⟲ (Undo) icon next to a changed field to revert the changes.

  • Click the Save button in the dialog to apply the changes in Salesforce.

The Magic Anchor feature#

In addition, Revenue Grid can be configured to auto-link replies to emails you send from Salesforce to a single relevant Contact or Lead - only when the item is handled by sync.

Contact Revenue Grid Support if emails sending from Salesforce is often used in your Org and you want to have the recipients’ replies linked to a single relevant Contact / Lead.

Linking a saved email to a Contact and a Support Case at the same time#

Context Panel can link emails saved as Salesforce Tasks to a Contact and a Support Case at the same time, according to user selections in Save email dialog. To perform this, the following Salesforce configuration prerequisites are required:

Saving an email to a Contact with the same email address as an Experience Cloud User record#

On attempts to save an email message to a Contact that has the same email address as an Experience Cloud User record, Revenue Grid saves the email message to the Experience Cloud User record.

If the Contact and related Experience Cloud User record have different email addresses, the email message is saved to the Contact record.

Saving any emails without linking them#

You can also save any emails with no established relation to any Salesforce records.

That is, on creation of the matching Tasks or EmailMessages in Salesforce their WhoId and WhatId fields are left blank.

To enable this function, submit a corresponding request to Revenue Grid Support.

Please, proceed to the article Ways to save an email, to learn more about how to save an email in Salesforce using Context Panel and Context Sync.