Email Record: The shortest path problem :