Skip to main content
Does anyone know how to create a report of all emails that would bring the "email ID" so I can mass delete outboud emails using Data Loader?

 

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 answers
  1. May 14, 2013, 1:33 PM
    Yes, you can query it using Apex Data Loader.

     

    here is the SOQL

     

    Select e.Id from EmailMessage e where e.Incoming = False
0/9000