diff --git a/config/app_config.yml.example b/config/app_config.yml.example
index 00dcb0b5fcde10b71941496ab8f1efd858b0dbd2..a52ca21658b54605b09b1710a5927cf7898ab210 100644
--- a/config/app_config.yml.example
+++ b/config/app_config.yml.example
@@ -13,6 +13,7 @@ default:
   pubsub_server: 'https://pubsubhubbub.appspot.com/'
   mongo_host: 'localhost'
   mongo_port: 27017
+  mailer_on: false
   smtp_address: 'smtp.example.com'
   smtp_port: '587'
   smtp_domain: 'mail.example.com'
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 80022947ebfb4d827d5b999584a8c4491de39bdc..74a062ea52b3a3578701ab1f57a2bb949b6ee25f 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -20,7 +20,7 @@ Diaspora::Application.configure do
   config.action_controller.perform_caching = false
 
   # Don't care if the mailer can't send
-  config.action_mailer.raise_delivery_errors = true
+  config.action_mailer.raise_delivery_errors = false
   config.active_support.deprecation = :log
   config.middleware.use MongoMapper::ClearDevMemory
   #config.threadsafe!
diff --git a/config/environments/production.rb b/config/environments/production.rb
index eebcc420b071318589b1a1bbb2ae4500326b440d..8c65da341649866c91401b969a3b22966c0a860c 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -47,16 +47,4 @@ Diaspora::Application.configure do
   # the I18n.default_locale when a translation can not be found)
   config.i18n.fallbacks = true
   config.threadsafe!
-
-  config.action_mailer.delivery_method = :smtp
-  config.action_mailer.default_url_options = {:host => 'pivots.joindiaspora.com'}
-  config.action_mailer.smtp_settings = {
-    :address => 'smtp.gmail.com',
-    :port => 587,
-    :domain => 'mail.joindiaspora.com',
-    :authentication => 'plain',
-    :user_name => 'diaspora-pivots@joindiaspora.com',
-    :password => "xy289|]G+R*-kA",
-    :enable_starttls_auto => true
-  }
 end
diff --git a/config/initializers/mailer_config.rb b/config/initializers/mailer_config.rb
index cbc5f73307d038dd28f1adeecc3814951a8104c9..b334cdb427f52e2c3dae056aead6af46aabf61f7 100644
--- a/config/initializers/mailer_config.rb
+++ b/config/initializers/mailer_config.rb
@@ -4,7 +4,7 @@
 
 Diaspora::Application.configure do
   config.action_mailer.default_url_options = {:host => APP_CONFIG[:terse_pod_url]}
-  unless Rails.env == 'test'
+  unless Rails.env == 'test' || APP_CONFIG[:mailer_on] != true
     config.action_mailer.delivery_method = :smtp
     config.action_mailer.smtp_settings = {
       :address => APP_CONFIG[:smtp_address],
diff --git a/lib/diaspora/user/friending.rb b/lib/diaspora/user/friending.rb
index ba76f4bde26ed21ce42083159e2def8e92b1fd7c..6530970428fbb0e9e8bab62dbc88c4b43bb42296 100644
--- a/lib/diaspora/user/friending.rb
+++ b/lib/diaspora/user/friending.rb
@@ -71,14 +71,14 @@ module Diaspora
 
           Rails.logger.info("#{self.real_name}'s friend request has been accepted")
           friend_request.destroy
-          #Notifier.request_accepted(self, friend_request.person, aspect).deliver
+          Notifier.request_accepted(self, friend_request.person, aspect).deliver
         #this is a new friend request
         else
           self.pending_requests << friend_request
           self.save
           Rails.logger.info("#{self.real_name} has received a friend request")
           friend_request.save
-          #Notifier.new_request(self, friend_request.person).deliver
+          Notifier.new_request(self, friend_request.person).deliver
         end
       end