Update email_controller.rb