Email Record: Design and analysis of algorithm /