Purge Archived Records
The primary goal of Email Scrubber is to reduce the data storage footprint in your instance. We accomplish this by archiving unneeded email messages into our Archived Email Message object. This process alone results in a significant savings in your overall data storage footprint.​​
​
If you wish to final purge these archived records to achieve even more data storage savings, we do offer this functionality as a part of our purge batch. The purge batch will delete records from the Archived Email Message object based on configuration.

Schedule the Purge Batch

The Email Scrubber Purge Records batch process can also be run via apex as needed.
​
emailscrubber.purgeBatch batchApex = new emailscrubber.purgeBatch();
Id batchprocessid = Database.executeBatch(batchApex);