When attempting to delete a Salesforce Classic email template, users may receive the error: "Templates used by other resources must remain in a folder other than your Personal template folder, and cannot be deleted or deactivated." This error occurs because the template is still referenced by one or more Salesforce resources that depend on it.
This article explains which resources can reference a Classic email template and the steps required to remove those references so the template can be deleted or deactivated.
To delete a Salesforce Classic email template, it must first be detached from all resources that currently reference it. If the template is referenced by a deprecated resource (such as the retired Self-Service Portal), it cannot be deleted but can be edited to render it non-functional.
Salesforce Classic email templates can be referenced by the following resources:
About Send Email Quick Actions: Send Email Quick Actions are buttons on Salesforce record page layouts that allow users to send emails directly from a record. A Quick Action can reference a Classic email template via the DefaultEmailTemplate field in the action configuration. The DefaultEmailTemplate field specifies which template pre-populates when the user opens the Send Email dialog from a record.
For resources that have been deprecated by Salesforce (such as the Self-Service Portal), you cannot directly delete the referenced template. Instead, edit the template content to make it non-functional — for example, clear the subject and body fields — so the template is not inadvertently sent to customers if the deprecated resource is triggered.
To delete a template currently referenced by an active resource:
Example: If a Workflow Alert in a Workflow Rule references your Classic email template, navigate to Setup > Workflow Rules, find the rule containing that alert, open the alert, and change the email template assignment to a different template. Once saved, return to the original template and delete it.
To learn more, please review Email Templates in Salesforce Classic.
000384038

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.