DEV Community

Cover image for Gmail AI Threat Scanner: An Open‑Source Security Layer for Your Inbox
Ajay Nyayapathi
Ajay Nyayapathi

Posted on

Gmail AI Threat Scanner: An Open‑Source Security Layer for Your Inbox

Email remains the most common entry point for cyberattacks, yet most people rely entirely on whatever built‑in filtering their provider offers. I wanted something more transparent, more customizable, and more aligned with modern AI‑driven threat analysis. So I built Gmail AI Threat Scanner.

This project connects to your Gmail inbox, analyzes messages using AI‑powered threat detection, and flags suspicious content — all while running locally so you stay in control.

What it does
Scans Gmail messages using AI models for phishing, fraud, and social engineering indicators

Highlights risky emails with clear explanations

Works entirely client‑side using OAuth (no passwords, no server storage)

Lets you review threats in a simple, readable interface

Why I built it
I wanted a lightweight, open‑source tool that gives users visibility into potential threats without requiring enterprise‑grade infrastructure. Security shouldn’t be locked behind corporate paywalls — especially when AI can help individuals defend themselves.

Roadmap

  • Add multi‑model ensemble scoring
  • Add attachment scanning
  • Learning from False Positives

GitHub Repo
🔗 https://github.com/ajaynyayapathi/Gmail-AI-Threat-Scanner

If you try it, I’d love feedback, issues, or PRs.

Top comments (0)