Add hook_on_all_mailers config option to allow hooking only to specific mailers