Refactor last_event option in orderprinter and ordermailsender