typo mail => email in notifier.rb