email output of continuous reindexing

Experimental script for emailing the output for continuous reindexing.