Bibliothek / E-Mail-Automatisierung
E-Mail-Automatisierung
Detect phishing and triage Gmail with Google Gemini and Google Sheets
When a new email arrives, it handles email with Google Gemini using Gmail, Google Sheets.
Was sie bewirkt
## Email Security Triage Agent Watches your inbox and sorts every new email into one of five categories — Possible Fraud, Urgent, Ads, Review, or Not Important — then applies the matching Gmail label automatically. ### How it works Every minute it checks for new unread mail. For each email, an AI agent reads the subject, sender, and preview text and decides which category fits, leaning toward "Review" rather than guessing when something looks fraud-like. It applies the matching label straight in Gmail — nothing is moved, archived, or deleted, so your inbox looks the same, just labeled. Every decision is also logged to a Google Sheet (subject, sender, category, time) so you have a running record of what came in and how it was sorted. ### Setup 1. In Gmail, create 5 labels with these exact names: ⚠️ Possible Fraud, 🔴 Urgent, 📢 Ads, 🔎 Review, ⚪ Not Important. 2. Open "Set log sheet details" and enter your Google Sheet ID and tab name (header row: subject, from, category, classified_at). 3. Connect your Gmail, Google Sheets, and Google Gemini credentials. 4. Turn the workflow on. ### Customization tips Tighten or loosen the fraud wording in the AI agent's system prompt, or swap the Google Sheet log for n8n's Data Table.
Die Schritte
- Watch inbox for new email
- Set log sheet details
- Get all Gmail labels
- Match categories to label IDs
- Classify email with AI agent
- Google Gemini Chat Model
- Add 'Possible Fraud' label
- Add 'Urgent' label
- Add 'Ads' label
- Add 'Review' label
- Add 'Not Important' label
- Combine email with AI result
- Log result to Google Sheet
Ähnliche Automatisierungen
Formulare & UmfragenAnalyze URL phishing risk with VirusTotal, Safe Browsing, Gemini, and Slack17 SchritteSicherheit & CompliancePhishing-URLs mit NixGuard AI und Wazuh analysieren5 SchritteSicherheit & CompliancePhishing-Simulations-E-Mails mit OpenAI generieren10 SchritteE-Mail-AutomatisierungDetect at-risk gym clients with Supabase, Gemini, Slack, Gmail, and Sheets17 Schritte