Mailman User Guide Mailman is a microframework for processing incoming email. Here is an example Mailman app that takes incoming messages to a support email account, and adds them to a database. # mailman_app.rb require 'mailman' Mailman.config.maildir = '~/Maildir' Mailman::Application.run do to '[email protected]' do Ticket.new_from_message(message) end end The Mailman app could then be started