please move the mail configuration to a mail.rb initializer, mail sending is not just in development.