Patch production rb email do and delete log files