This demo indexes your mailbox and lets you access it using MG4J.

First of all, parse your mailbox using parsemail.rb (it's a Ruby script, so
you will need Ruby). parsemail.rb requires an index name (e.g., mail) and
tha mailbox from standard input.

Then, run indexmail.sh giving as argument the same index name. Finally,
start the query handler (it.unimi.dsi.mg4j.query.Query) passing
as arguments all the indices that have been built (e.g., "mail-text
mail-from mail-subject mail-sender") and try some queries (the syntax
for queries is explained in the package documentation).
