added setup_mail.rb to handle mailer configuration
turned delivery error raise flag false for staging