Email Record: Algorithms for some design automation problems /