Cached Mailer simply stores a copy of all the email you send with ActionMailer to the database. The template used is also stored so you can run queries on the database for specific emails.
mhodgson
gem "cached_mailer", "~> 0.1.5"