imap_tools consists of three programs: imap_search, imap_filter and imap_rename. All programs run from your PC against your imap server. No need to install any server side software. imap_filter provides a way to write easy filter rules. Written in Ruby.