add (Gemfile, Gemfile.lock) add gem rails_config
edit (application.rb) write config for two configuration on smtp servers.