SandboxMail
When rails console is started in sandbox mode, mail is not sent in that.
Installation
Add this line to your application's Gemfile:
gem 'sandbox_mail'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sandbox_mail