I am working on a requirement and needs to know how to know if our org. has sent more than a 1000 emails on a specific date.
I have found the following code :
System.debug('limits.getEmailInvocations() = ' + limits.getEmailInvocations());
System.debug('limits.getLimitEmailInvocations() = ' + limits.getLimitEmailInvocations());
found from https://gist.github.com/tyoshikawa1106/e28b602f82582cf119ae
But they can't be used for a specific date. is there any other way using workbench etc.