add 'rebuild' mode to otrs mail exporter, for use when retraining Bayes database

Change-Id: Ic7fe238e6924d0983c2af536cda95c95454f013d