email_manager

Stores all emails sent through ActionMailer to a ManagedEmail model. Provides controller and views with optional support for meta_search and kaminari to view the emails.

setup

Include the gem in your Gemfile

gem "email_manager"

Install the gem

rails generate email_manager:install

This will add a migration and an initializer. Run the migration and everything will be ready to go. All mailers inheriting from ActionMailer::Base will have their deliveries recorded.

To override the views and controller, run the views generator. The -e argument can be used to create haml or erb based views. Erb is the default.

rails generate email_manager:views -e haml

Contributing to email_manager

Copyright © 2011 Jeremiah Hemphill. See LICENSE.txt for further details.