key_commit: Fixed a bug in the 4 mill report and started work on the mail log report