Skip to content
railsengines.com

Letter Opener Web

Read the mail your app sends, in a page mounted in the app itself

Takes off your invoice

You would run instead $0/mo

No ratings yet
Gem
letter_opener_web
Repository
fgrehm/letter_opener_web
License
MIT
Stars
815
Added
July 23, 2026
Letter Opener Web mounted at /letter_opener
Letter Opener Web mounted at /letter_opener

About

Every mailer you write needs looking at before it goes out. This mounts the outbox.

What you get

  • A browsable list of the emails your app has "sent"
  • HTML, text and raw source views of each one
  • Attachment previews
  • A delete-all button

Mounting it

ruby
# Gemfile
group :development do
  gem "letter_opener_web"
end

# config/routes.rb
mount LetterOpenerWeb::Engine, at: "/letter_opener" if Rails.env.development?

On staging too

Mounting it on staging behind an admin check is the trick that removes the SMTP
sandbox subscription entirely: the team reads staging mail at a path on the staging
app.

Discussion (0)

Sign in to join the discussion.

No comments yet.