Email storage is increasing substantially and I need to delete some automatic response emails that are recorded in Salesforce.
Additional: Does anyone knows how to avoid Salesforce storing automatic response emails? I.e When someone creates a case using email to case, we send an automatic reply that gets stored in Salesforce. We do not really need to store this record. How can I avoid this or go around it? Otherwise I will have to mass delete these emails every week/month.
Thanks
5 件の回答
Yes, you can query it using Apex Data Loader.
here is the SOQL
Select e.Id from EmailMessage e where e.Incoming = False