+ Start a Discussion
Priyanka DesaiPriyanka Desai 

Data storage is used 94% and out of that 55% is been used by email messages. I want to know that the emails that we sync with Salesforce, are they counted in tasks or email messages?

Data storage is used 94% and out of that 55% is been used by email messages. I want to know that the emails that we sync with Salesforce, are they counted in tasks or email messages?

How can I query email messages for accounts?
Nikhil_KhetanNikhil_Khetan
@priyanka, i believe you are using some email messages sync with your inbox may be Lightning Sync or third party.
Yes, they are counted against your data storage.

query:
Select id from EmailMessage where Parent.Type = 'Account'

TIP: Use einstein data capture, this is bring email realtime.

Thanks,
Nikhil
Please mark this as best answer if you find my answer's helpful.