{"product_id":"secure-email-attachments-with-ai-virustotal-for-n8n","title":"Secure Email Attachments with AI \u0026 VirusTotal for n8n","description":"\u003cp\u003eStop worrying about malicious email attachments with this intelligent n8n workflow that automatically scans, analyzes, and quarantines threats using AI and VirusTotal integration. Perfect for teams who regularly receive documents from external sources and need automated email security.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eEvery minute, this workflow polls your Gmail for new unread emails containing attachments. For each attachment, it calculates a SHA256 hash and queries the VirusTotal API to check for known malware signatures. Simultaneously, an AI model analyzes the email subject and body content to detect phishing patterns and suspicious language.\u003c\/p\u003e\n\n\u003cp\u003eThe workflow uses rule-based scoring to combine both signals into three threat levels: \u003cstrong\u003eDanger\u003c\/strong\u003e attachments (VirusTotal malicious count ≥3 OR AI detects phishing) are automatically quarantined with a Gmail label and trigger Slack alerts. \u003cstrong\u003eSuspicious\u003c\/strong\u003e attachments are logged to a Google Sheets review queue for human inspection. \u003cstrong\u003eSafe\u003c\/strong\u003e attachments are automatically saved to your designated Google Drive folder.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eFreelancers and agencies\u003c\/strong\u003e receiving client documents, contracts, and project files\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eHR teams\u003c\/strong\u003e processing CVs, resumes, and candidate portfolios from job applicants\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFinance teams\u003c\/strong\u003e handling invoices, receipts, and vendor documentation\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSmall businesses\u003c\/strong\u003e managing customer attachments and external communications\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSolo operators\u003c\/strong\u003e who need enterprise-level email security without manual oversight\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cp\u003eBuilt with essential n8n nodes including Gmail, Slack, Google Sheets, Google Drive, OpenAI, and VirusTotal integrations. Uses set, code, wait, and switch nodes for intelligent routing and processing logic.\u003c\/p\u003e\n\n\u003cp\u003eSetup requires a free VirusTotal API key, configured Google Sheet with specific columns for the review queue, Gmail quarantine label, and Google Drive folder for safe storage. The workflow connects six different services through n8n's credential system, with VirusTotal using Header Auth authentication.\u003c\/p\u003e\n\n\u003cp\u003eCustomize threat detection thresholds, notification channels, and quarantine actions to match your security requirements. AI handles only text classification—final quarantine decisions remain rule-based for transparency and control.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45459010781363,"sku":"N8N-15207","price":28.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/CF70-pG_l5EiQZusOIqSF_2b0cafafbd714afba64020e8a91436db.jpg?v=1776851570","url":"https:\/\/buyflowscripts.com\/products\/secure-email-attachments-with-ai-virustotal-for-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}