Email Record: Grid generation and adaptive algorithms /