# \[ANN\] Railmail: rails plugin (http://railmail.nullstyle.com)

**URL:** <https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358>\
**Category:** Rails\
**Created:** [June 3, 2006, 6:32am UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358 "2006-06-03T06:32:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nullstyle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nullstyle](https://www.ruby-forum.com/u/nullstyle)\
**Post date:** [June 3, 2006, 6:32am UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358/1 "2006-06-03T06:32:44Z")

</div>

Hi all,  
Just dropping a line here because I have recently release a plugin  
that some of you might find interesting or get a little use out of. I  
call it Railmail. In a nutshell, it traps any mail sent through  
ActionMailer (when the delivery\_method is set to :railmail), stores it  
in a database, and provides an interface to view those messages.

My initial motivation for the plugin was gmail: While developing  
locally on my laptop at work, gmail wouldn’t accept any mail being  
sent from my machine. This was very frustrating as it slowed down my  
development greatly, since every tweak to a mailer would require me to  
upload a version to our server to test the change. With Railmail,  
everything is local.

Well, I hope some of you find some for it:  
[http://railmail.nullstyle.com](http://railmail.nullstyle.com)

-Scott Fleckenstein

---

<div class="post-metadata">

**Author:** ![nullstyle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nullstyle](https://www.ruby-forum.com/u/nullstyle)\
**Post date:** [June 3, 2006, 7:00am UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358/2 "2006-06-03T07:00:00Z")

</div>

This sounds cool, Scott.

Default development environment behavior writes the entire email  
to log/development.log

Why wasn’t that enough to develop?

–  
– Tom M.

---

<div class="post-metadata">

**Author:** ![nullstyle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nullstyle](https://www.ruby-forum.com/u/nullstyle)\
**Post date:** [June 3, 2006, 7:05am UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358/3 "2006-06-03T07:05:55Z")

</div>

Mostly because it was annoying. In my specific case, it was one  
particular message that was long, multipart, and had links in it that I  
needed to have to continue the process at hand. I would always have to  
scroll the window up and scan to pull the information needed.

-Scott Fleckenstein

---

<div class="post-metadata">

**Author:** ![nullstyle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nullstyle](https://www.ruby-forum.com/u/nullstyle)\
**Post date:** [June 3, 2006, 3:11pm UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358/4 "2006-06-03T15:11:35Z")

</div>

Added to the Rails plugin directory: [http://agilewebdevelopment.com/](http://agilewebdevelopment.com/)  
plugins/rail\_mail 🙂

–  
Benjamin C.  
[http://www.bencurtis.com/](http://www.bencurtis.com/)  
[http://www.tesly.com/](http://www.tesly.com/) – Collaborative test case management  
[http://www.agilewebdevelopment.com/](http://www.agilewebdevelopment.com/) – Resources for the Rails community

---

<div class="post-metadata">

**Author:** ![nullstyle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nullstyle](https://www.ruby-forum.com/u/nullstyle)\
**Post date:** [June 4, 2006, 4:09am UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358/5 "2006-06-04T04:09:10Z")

</div>

nullstyle wrote:

> Hi all,  
> Just dropping a line here because I have recently release a plugin  
> that some of you might find interesting or get a little use out of. I  
> call it Railmail. In a nutshell, it traps any mail sent through  
> ActionMailer (when the delivery\_method is set to :railmail), stores it  
> in a database, and provides an interface to view those messages.
> 
> My initial motivation for the plugin was gmail: While developing  
> locally on my laptop at work, gmail wouldn’t accept any mail being  
> sent from my machine. This was very frustrating as it slowed down my  
> development greatly, since every tweak to a mailer would require me to  
> upload a version to our server to test the change. With Railmail,  
> everything is local.

neat. ive been meaning to write a Mail reader in rails, since muttng  
takes 5 minues to load a large maildir even with header caching, and ive  
seen horror stories about gnus propensity to go apeshit on resources,  
not to mention i couldnt figure out how to configure it and ive been  
using emacs for a while…

the part im undecided about is storing mail in the database, or  
implement a subset of AR to deal with maildirs instead of database as  
the backend…

> Well, I hope some of you find some for it:  
> [http://railmail.nullstyle.com](http://railmail.nullstyle.com)

slightly OT, how are you liking Mercurial?

> -Scott Fleckenstein

and there sa bug in this forum, if the topic is between 61 and 64  
characters, you wont be able to reply to it without shortening it  
manually…

---

<div class="post-metadata">

**Author:** ![nullstyle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nullstyle](https://www.ruby-forum.com/u/nullstyle)\
**Post date:** [June 4, 2006, 5:07am UTC](https://www.ruby-forum.com/t/ann-railmail-rails-plugin-http-railmail-nullstyle-com/62358/6 "2006-06-04T05:07:07Z")

</div>

> slightly OT, how are you liking Mercurial?

I love it. It’s pure joy to use. Fast, simple, easily extendable. It  
lacks a few of the annoying aspects of subversion: Easy file ignores  
(using regexes or globs) that can apply to the whole repository, and  
simplified branching.

Also I’ve hacked together a simple SCM module for capistrano to work  
with it.
