Email Record: Functional and logic programming :