Skip to content
railsengines.com

Rails Mail

A Rails engine that provides a database-backed delivery method for Action Mailer, primarily intended for local development and staging environments. It…

No ratings yet
Gem
rails_mail
Repository
synth/rails_mail
License
MIT
Stars
24
Added
August 11, 2026

About

A Rails engine that provides a database-backed delivery method for Action Mailer, primarily intended for local development and staging environments. It captures emails sent through your Rails application and provides a web interface to view them.

RailsMail saves all outgoing emails to your database instead of actually sending them. This is particularly useful for: - Local development to inspect emails without setting up a real mail server - Staging environments where you want to prevent actual email delivery - Testing email templates and layouts

What you get

  • Local development to inspect emails without setting up a real mail server
  • Staging environments where you want to prevent actual email delivery
  • Testing email templates and layouts

Mounting it

ruby
# Gemfile
gem "rails_mail"

# config/routes.rb
mount RailsMail::Engine, at: "/rails-mail"

Details

24 stars on GitHub · MIT licensed · maintained by synth. Source: https://github.com/synth/rails_mail

Discussion (0)

Sign in to join the discussion.

No comments yet.