Email duplicate check, db-dir added