Email Record: Modern logic in the service of law