Email Record: Cross-layer design for secure and resilient cyber-physical systems :