Added mail indexing support.