Ways to save an email in Salesforce#
The pattern of email saving in Salesforce depends on how the message is opened in Outlook: in Read mode (an email opened for viewing from the Inbox, Sent or the Salesforce Emails) or in Compose mode (email opened in a separate window for composing – as a New email created, a Reply/Reply all email, or a Forwarded one) and on whether Context Sync is active, paused or suspended for any reason.
Important
Please note that Context Panel and Context Sync process emails only from the Inbox, Sent, and the custom Salesforce Emails folders.
Hint
After you save an email in Salesforce using the Save email button or in any other way, you can quickly open the email’s detailed card by selecting the email in Outlook or Gmail and clicking the Email is saved button in the Context Panel header.
1. Saving an email when Context Sync is active#
After you click the Save email button in the Context Panel in Compose mode and Context Sync is active, the following actions are performed:
1.1. Emails saved as EmailMessages vs Emails saved as Tasks#
The way emails are saved depends on how your Salesforce org is set up—whether it uses the Enhanced Email feature with EmailMessage records (scenario A), or it doesn’t use this feature (scenario B).
Scenario A: With the Enhanced Email feature#
If your Org has the Enhanced email Salesforce feature enabled and configured in Context Panel settings, the message will be saved in Salesforce as an Email message Salesforce object rather than a Task. Its special formatting as well as other html-encoded elements like inline pictures, tables, or diagrams will be saved. See this article for information on fields matching patterns applied on saving.
When it comes to related records linking, unlike Tasks (see the information below), EmailMessages can be linked to a single People record and to a reasonable number of Business records, unless emails duplication is enabled in Context Panel settings.
Hint
There is also an option for customers to edit already saved EmailMessages using Context Panel.
Scenario B: Without the Enhanced Email feature#
If your Salesforce Org does not have the Enhanced email setting enabled, the message will be saved as a completed Salesforce Task record.
In the resulting Salesforce Tasks the key email’s elements (the sender’s / recipients’ email addresses, sending date and time, subject, the message body, the sender’s signature) are stored as values in its corresponding fields.
The special formatting of message body and its signature is not saved, except for the contained links.
The Task Due date field is set to the date when the saved email was sent or received.
The resulting Task can be linked to several People records and a single Business record, unless emails duplication is enabled in Context Panel settings.
1.2. The “Save this email to Salesforce” dialog will appear#
Hint
See this article to learn more about the Save dialog.
To proceed with saving, you need to select People records (WhoId) and Business records (WhatId) to be linked to the resulting Task or EmailMessage in Salesforce under Linked records in this dialog.
Context Panel initial search will also list releated or already linked objects if any are found in Salesforce, so you can make the selection quickly. Use the Search Salesforce records field to find these objects in Salesforce and select them; to remove a record from the list, click the close icon on the right-hand side. If a needed record does not exist in the CRM, you can easily create it in the Context Panel.
To ensure proper linking of saved emails according to your Context Panel settings and Salesforce configuration, the dialog indicates if there are conflicts.
Next, under Attachments, you can select files attached to the email to be saved in Salesforce along with it, including an exact copy of the message in .eml format. Refer to this article for more information. Note that you can also change the files’ names on saving, by clicking the Edit icon next to their names.
Note
An email attachment cannot be saved in Salesforce in the following cases:
if it exceeds the file size limit in Salesforce – 25 Mb per file.
if the file’s extension was not allow-listed by your local Revenue Grid admin.
Important
With Salesforce Enhanced email enabled, due to a technical limitation, when you save an email along with its attachments in Salesforce via Context Panel, the created Email Message object’s HasAttachment field will not convey accurate status regarding the presence of attachments, so this field/flag should be disregarded.
Finally, you can edit the values in Other fields. These are some of the key fields of the corresponding Task or EmailMessage objects created in Salesforce.
By default, for Task objects you can edit the Subject, Priority, Status (set to Completed if you do not prefer to set another value), and for EmailMessage objects you can edit the Subject field.
Hint
You can add some more editable fields to the dialog via the Context Panel settings. There you need to select respectively Task or EmailMessage object type and in the object’s Detailed view mark the fields you want to edit via the dialog as Important.
After populating all necessary fields, click the Save button in the bottom-right corner of the dialog to save the email in Salesforce.
As soon as the email gets successfully saved in Salesforce, there appears a success toast notification “The email was saved in Salesforce and {number of related records} other objects”, also indicating the number of linked records.
Hint
Note that emails which you have saved in Salesforce using the Save email button or any other method are auto-assigned the custom blue Salesforce category in Outlook, so you can see if you have already processed it. However, that may happen within 1-30 minutes after saving, since that is done by Context Sync.
If Context Sync is active, the user-side differences between saving messages in Read mode and Compose mode is the kind of notification you will get (see the screenshots above) and the fact that messages opened in Compose mode will be saved in Salesforce on the following sync session (within 1-30 minutes), unlike messages opened in Read mode, which are saved immediately.
The Salesforce object created when saving an email is logged in Context Panel Past activities under the tab Activity Timeline and can be opened in Salesforce directly by clicking the blue Expand icon next to it.
Auto-saving all new email messages in a thread#
Finally, there is a convenient option that allows saving all new messages in a correspondence thread in Salesforce automatically. Refer to this article for complete information.
2. When Context Sync is not active#
If the Save email button is clicked and Context Sync is not active for any reason:
If the message is opened in Read mode (only from the Inbox and Sent folders or the custom added Salesforce emails folder, emails from other folders are not processed by Context Sync and Context Panel), it will be saved in Salesforce directly, following the regular pattern described earlier. However, note that the blue Salesforce category will not be automatically assigned to the email saved this way in Outlook if sync is disabled.
If the message is opened in Compose mode (that is, it is a new message created by clicking New email, Reply, or Forward in desktop Outlook or Outlook on the web), saving it in Salesforce is not possible until you enable synchronization, or, as a workaround, you could save the message and move it to the Sent folder and then open it in Read mode and save it.
Exchange Server
Microsoft 365