Email Record: Data-driven design of fault diagnosis and fault-tolerant systems /