Start removing lambda/strings and move to CHANGE_ACTION values. * tools/hook-scripts/mailer/mailer.py: (generate_list): pass a CHANGE_ACTION value, rather than a func (_gather_paths): take an action value, rather than a filter function