added support to recursively enter all folders and preprocess email files