Detect Suspicious Emails (Phishing)

Scans email bodies for suspicious keywords and risky URLs. Flags likely phishing attempts for triage (not a final verdict). Good for demoing gateway-level filtering or analyst triage steps. Can be extended with domain checks, ML models, or quarantine actions.

email_content = """
Dear user, please reset your password at http://fakebank-login.com
"""

phishing_keywords = ["password", "login", "verify", "bank", "urgent"]

if any(word in email_content.lower() for word in phishing_keywords):
    print("⚠️ Potential phishing email detected!")
else:
    print("Email seems safe.")