fixing email service on heroku server. Remove the Emailer inside the respond_to block and deliver them before the block