changed action_mailer to true in development.rb file