Automated threat detection systems use a combination of machine learning, artificial intelligence, and heuristic analysis to scan emails for suspicious activities. These systems analyze various elements such as email headers, links, attachments, and content to detect anomalies. Once a threat is identified, the system can automatically quarantine the email, alert administrators, and even take remedial actions.