Email Record: A memory-efficient algorithm for multiple sequence alignment with constraints