Mailman – Like Sinatra for E-mail
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.new do to 'email@example.com' do Ticket.find(params[:id]).add_reply(message) end end
This is very nice. I love these microframeworks. The Sinatra style is always good to ape.