Mailman Released!
I just released my Ruby Summer of Code project,
Mailman as a gem. You can install
it by running gem install mailman.
What is Mailman?
Mailman is an incoming email processing microframework. You point it at a source of email, such as a POP3 account or a Maildir, and it will execute routes based on the messages that come in.
For instance if you had a ticketing system, and wanted to add replies via email to the database, this application would be a good start:
require 'mailman'
Mailman.config.maildir = '~/Maildir'
Mailman::Application.run do
to 'ticket-%id%@vipsupport.com' do
Ticket.find(params[:id]).add_reply(message)
end
end
For more information take a look at the User Guide.
How can I help?
If you are already processing incoming email for an app using a different system, please give Mailman a try, and let me know where the docs are thin, what features are missing, and any bugs you run into.
If you are starting a new project with incoming email, please use Mailman for it, and give me feedback.
The best way to leave feedback is through the GitHub Issue Tracker.
If you have some spare time and want to write documentation or patches, feel free to write them, and send me a pull request on GitHub.
Thanks!
This project is sponsored by the Ruby Summer of Code. My mentor is Steven Soroka. I’ve been working from a desk that Shopify is kindly providing in their office.