I read that email attachments are counted towards file storage. Shouldn't the Email Messages be just ~ 35MB then?
If the attachments are counting towards data storage, is there a way we can not keep them by default? Or mass delete them without deleting the emails?
7 Antworten
Hi Lawson - this is usually related to HTML emails. When you send an html email from salesforce, it stores both the html code and the text version of that email.
https://help.salesforce.com/articleView?id=000193871&type=1
So while it may seem like a small number of emails, it eats up space quickly. One option is to go to text only email templates (which is usually not an option for customer facing emails). If you expect this to continually be a problem, it may be worth consider an email marketing tool like Pardot or Marketing Cloud.
As far as cleaning up the existing space, you have to delete the email messages altogether, not just delete the html part (i tried that a few times...).
You can do a manual process by downloading the data, uploading a few key fields as completed events, and then delete the original email messages.
I've used a different version of this same approach. I worked with a team that sent out thank you emails after each transaction, their org captured about 1200 transactions daily. They were exhausting their data storage limit monthly, so upon record creation, we copied fields from the email record (like to/from, date/time, subject, etc) by 'logging a call' and had a batch process that deleted the email messages with the thank you subject line overnight.
Sorry there are not clear, easy answers here. I'm actually hoping someone has a different answer than me, because this is certainly a pain point.