System Reports for Admins

Hi I was interested in seeing what generates the reports for inbox usage that is sent to the admin mailbox. Is it something custom or a debian package?

It seems to be a custom script …
It is the script located at ./mailinabox/management/mail_log.py which reads the mail logs found in /var/log/mail.log*