mail notifier: fix notifier config
move helper to its own import mailer