Email Record: Extensions of logic programming