By analyzing email conversations between employees, the AI system automatically detects words and phrases hinting that a person might quit, such as complaints about the company or signs of in-house harassment. When detected, the program reports risk to the personnel department.