Mailman is an incoming mail processing microframework (with POP3 and Maildir support), that works with Rails "out of the box".
This fork of mailman supports IMAP IDLE, for retrieving emails instantly when they arrive in real-time.
require 'mailman'
Mailman::Application.run do
to 'ticket-%id%@example.org' do
Ticket.find(params[:id]).add_reply(message)
end
end
See the User Guide for more information.
If you'd like to maintain this gem, email [email protected].
gem install mailman
Tested on Ruby 2.5.1.
This project was originally sponsored by Ruby Summer of Code (2010), and mentored by Steven Soroka.
Copyright (c) 2010-2013 Jonathan Rudenberg. See LICENSE for details.