The user reported that the BCC (Blind Carbon Copy) to Salesforce (Email to Salesforce) feature is not associating emails with the custom object record, even though the custom reference code is included. The issue is consistent for one user and happens when they use the Outlook Integration side panel to log an email on Related Records. The email is logged only to the object selected in the plug-in (for example, Contact) and does not log to the reference record (for example, Opportunity).
This article answers the question: why doesn't my Ref ID (ref: XXXXXXXXXXXXX) in the email subject or body associate the email with the intended custom object record when using the Outlook Integration side panel?
This behavior is Working as Designed. The Reference Id mechanism is not supported with the Outlook Integration "Log on Send" option. When emails are logged through the Outlook Integration side panel, Salesforce associates the email only with the object explicitly selected in the plug-in (for example, Contact) — it does not scan the subject or body for a Ref ID to find a different target record (for example, Opportunity).
Instead of relying on a ref: XXXXXXXXXXXXX code in the email subject or body, select the intended record (for example, the Opportunity) directly in the Related Records section of the Outlook Integration side panel before sending. This ensures the email logs against the correct record.
Emails are logged as task records instead of email message records
Missing Objects in Email Application Pane (Gmail/Outlook) Integration
005232694

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.