I know how to see how many SingleEmailMessages we've sent in the current GMT day, but I need to know if it's possible to see a history of emails further back than that. For example, for the past week, I need to know how many SingleEmailMessages were sent each day. Can this be done?

Thanks in advance for the help.

  • For emails sent < 30 days ago, there's a log: help.salesforce.com/… – identigral Jun 13 '19 at 16:10
  • Thank you @identigral. I looked into that and the log looks a little too complicated to help me very much. I ended up just writing a schedulable apex class that uses something similar to this: List<System.OrgLimit> limits = OrgLimits.getAll(); for (System.OrgLimit aLimit : limits) { if(aLimit.getName()=='SingleEmail'){ /* Send email to myself with body = 'Limit Name: ' + aLimit.getName() + '<br/>' + 'Limit Value: ' + aLimit.getLimit() + '<br/>' + 'Usage Value: ' + aLimit.getValue() */ } } – Aaron Bishop Jun 18 '19 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.