Salesforce organizations with Enhanced Email enabled may notice high storage usage for Tasks and EmailMessage objects when viewing Storage Usage under Monitor Data and Storage Resources. Administrators who attempt to delete EmailMessage records to free up storage may encounter the following error:
'Insufficient Access Rights On Object Id: INSUFFICIENT_ACCESS_OR_READONLY'
This article explains the delete behaviors for EmailMessage records in orgs with Enhanced Email enabled and provides a step-by-step process for safely removing them using Data Loader.
Always back up your data before performing any data manipulation. Use Export Backup Data or Export Data in Data Loader and select all fields on the appropriate object.
Since it may not be scalable to ask each orphaned EmailMessage record owner to delete their own records, orphaned EmailMessage records may be removed in bulk by contacting Salesforce Support.
Please ask Support to reference article number 000384885 when logging the Case and include permission for Support to run the necessary process to manually clear and purge all orphaned EmailMessage records.
Note: Deleting a subset of orphaned EmailMessage records is not possible. The process deletes all orphaned EmailMessage records — there are no exceptions.
000384885

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.