added email stuff to production.rb