correctly configure mailers and removes duplicate inject into application.rb