CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Kyatchi logo

Kyatchi (キャッチ catch) is a light NodeJS port of Mailcatcher. Kyatchi is written on top of the super simple Sinatra-like web framework for NodeJS, ExpressJS. The server and client-side javascript is all written in Coffeescript.

Like Mailcatcher Kyatchi runs a super simple SMTP server which catches any message sent to it to display in a web interface. Run Kyatchi, set your favorite app to deliver to smtp:// instead of your default SMTP server, then check out to see the mail that's arrived so far.

Kyatchi also sends new messages to the web interface through WebSockets with failover support for ANY browser that doesn't support Websockets. This is done through the power of the awesome and simple pub/sub library Faye.


  • Catches all mail and stores it for display.
  • Shows HTML, Plain Text and Source version of messages, as applicable.
  • Mail appears instantly on any browser.
  • Growl notifications for Mac OS X and Gnome notifications with Libnotify
  • Runs as a daemon run in the background.
  • Written super-simply in on top of ExpressJS via Coffeescript, very easy to change.


  1. npm install kyatchi
  2. npm start kyatchi
  3. Go to http://localhost:1080/
  4. Send mail through smtp://localhost:1025

The source is simple and available on GitHub.


To set up your rails app, I recommend adding this to your environment/development.rb:

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { :host => "localhost", :port => 1025 }


Doesn't matter what programming language/framework you're using. If it uses smtp to send messages, then Kyatchi will work for you!


  • Email download needs work.


  • Fix Email download, currently line breaks aren't being persisted
  • Add support for Attachments
  • Add ability to specify smtp and web interface ports through command line interface


I was surprised how quickly I was able to get Kyatchi up and running. We definitely have some very powerful tools at our fingertips right now. A big thanks to all of the authors/contributors of the whole stack used in Kyatchi. I would also like to thank the following people:


I started this project because I've been wanting to write something like this for a while, but I am doing this in my free time. If you are so inclined, buy me a cup of coffee, soda, or some nourishment by donating via Amazon Payments.


Copyright (c) 2011 Haris Amin ( Released under the MIT License, see LICENSE for details.