Clean up var/email



there are settings for cleaning up documents, assets, versions etc.

I found the directory var/email a few minutes ago. We are sending quite a lot of emails and this directory has more than 4 GB in our instance.

I could not find any setting in “system settings” where I can “tell” the maintenance job to clean up this directory (maybe after 30 days or something similar). Am I missing something or is there no setting?

Thx & BR,


Seems like

bin/console pimcore:email:cleanup --older-than-days=30

is doing the trick.

Would be nice to have control over it in settings.