A gem that allows you to preview emails in the browser instead of sending them. This is ideal for testing email delivery in your development environment, eliminating (or at least significantly reducing) the possibility of accidentally sending a test email to a live email address.
Add the gem to your development environment:
gem "letter_opener", :group => :developmentSet the delivery method in config/environments/development.rb
config.action_mailer.delivery_method = :letter_openerAdd the letter_opener gem to your gemfile and bundle install.
Now any emails sent in your development environment in rails will pop up in your browser instead of being delivered to the actual email address specified. The messages are stored in tmp/letter_opener.
Pretty simple gem.