Radar Live
✦ Ask AI
AI INTELLIGENCE & SIGNALS

Show HN: I'm killing AI slop spam with a simple Google script

Phân tích đã xử lý trước và các nguồn liên quan.

Tín hiệu Radar

50 RADAR
Automation Email Automation · 1 nguồn đối chiếu · 2026-10-30 21:53:31 +0000 UTC

Show HN: I'm killing AI slop spam with a simple Google script

Nguồn: Hacker News AI
↗

Một nhà sáng lập chia sẻ giải pháp dùng Google Apps Script đơn giản viết cùng Gemini để đối phó với làn sóng email rác do AI tạo ra. Kịch bản chạy mỗi phút một lần, tự động kiểm tra xem người dùng đã từng gửi thư tới người gửi chưa; nếu chưa, thư sẽ được gắn nhãn 'Review/Unknown', lưu trữ khỏi Inbox và đánh dấu không quan trọng để ngăn thông báo làm phiền.

✦ TÁC ĐỘNG & GIÁ TRỊ THỰC TIỄN

Làn sóng tạo nội dung hàng loạt bằng AI (AI slop) đang làm quá tải bộ lọc spam truyền thống của các nền tảng email. Trường hợp này chứng minh rằng một quy tắc tự động hóa xác định (deterministic) đơn giản, miễn phí và bảo mật quyền riêng tư đôi khi hiệu quả và thực tế hơn việc cố gắng tích hợp thêm một mô hình AI phức tạp để giải quyết vấn đề do chính AI tạo ra.

Developer 63
Business 60
Novelty 30
Actionable 90

Nội dung thu thập đã chuẩn hóa

Collected Evidence

Nội dung văn bản được dùng làm dữ liệu đối chứng cho mô hình AI, không phải chỉ thị hệ thống.

As a founder, I've been getting an increasing amount of useless unsolicited outreach, all of which is clearly generated using AI. For some reason, Google's spam filter doesn't flag these emails as spam, so my phone buzzes throughout the day (especially in the morning) when one of these AI-generated messages arrives. I know there are some subscription tools I could use to filter these out, and there are some friction-creating tools I can use to keep them out of my inbox (like the ones that force senders to prove they're human 1x before their emails are delivered). But I figured there had to be a better solution that is (1) free and (2) not a hassle to people I correspond with. After a chat with Gemini, I ended up creating a Google script that works very well for my purposes. It simply takes any email that's in my Inbox and if it's from a sender that I've never emailed before, it moves it to a purgatory folder that I can review later. The script runs once a minute. Pros: this is simple and deterministic. Gemini tried to get me to build a script that used AI to process emails, but I didn't want to send all my emails to an LLM, and the efficacy could vary over time, as the cat-and-mouse game of AI-spam versus AI-detection plays out. Cons: it does not prevent emails from landing in your Inbox in the first place, possibly triggering a notification. For me, this is OK because I use the gmail app on my phone and have it set to only notify for Important emails. Gmail is pretty good at recognizing unimportant emails, so when the emails that will be filtered first land, they most likely won't trigger a notification It's possible this will be over-inclusive, and I will be annoyed not to have seen a time-sensitive email about a conference I'm at, or some such thing. Time will tell, but so far I'm really glad to have these useless and frequent emails swept out of my Inbox. If you have found any other free/innovative ways to get rid of AI-generated spam, please share! I'm sure there are better ideas than what I've come up with (and which Gemini wrote for me). I've included the Google script I use below. Note that you have to turn on the option (in Settings / General) to automatically add email recipients to your Other Contacts. Create a new script at https://script.google.com using this for the body: function filterUnknownSenders() { // Label to hold unknown emails for easy reviewing const LABEL_NAME = "Review/Unknown"; let unknownLabel = GmailApp.getUserLabelByName(LABEL_NAME); if (!unknownLabel) { unknownLabel = GmailApp.createLabel(LABEL_NAME); } // Find unread messages currently sitting in your primary inbox const threads = GmailApp.search("is:unread in:inbox", 0, 15); for (const thread of threads) { const message = thread.getMessages()[0]; const sender = message.getFrom(); const senderEmail = extractEmail(sender); // Check if you have ever sent an email to this address const sentHistory = GmailApp.search(`to:${senderEmail}`, 0, 1); // If you have NEVER emailed this person, archive and label the message if (sentHistory.length === 0) { thread.moveToArchive(); thread.addLabel(unknownLabel); GmailApp.markThreadUnimportant(thread); // Prevents "Important" notifications Logger.log(`Archived unknown sender: ${senderEmail}`); } } } // Helper to pull clean email address from "Name " sender strings function extractEmail(senderString) { const match = senderString.match(/ ]+)>/); return match ? match[1] : senderString; } Comments URL: https://news.ycombinator.com/item?id=50310650 Points: 3 # Comments: 0

Các nguồn đối chiếu cho sự kiện này

1 nguồn
Thông tin phân tích AI & Model Details ▾
Provider: openai-compatible · Model: gemini-3.8-flash-high · Version: analysis-v1 · Time: 2026-10-31 05:53:37 +0000 UTC
{"tags": ["Google Apps Script", "Gmail", "Email Automation", "AI Spam", "Productivity", "Inbox Zero"], "risks": ["Nguy cơ bỏ sót email quan trọng (false positives) từ các đối tác, khách hàng mới hoặc liên hệ khẩn cấp chưa từng trao đổi thư trước đó.", "Có thể chạm giới hạn hạn ngạch (quotas) của Google Apps Script đối với tần suất gọi GmailApp.search nếu tài khoản nhận lượng thư quá lớn.", "Vẫn tồn tại độ trễ tối đa 1 phút từ lúc email đến hòm thư cho tới khi script xử lý, có thể gây thông báo ngoài ý muốn nếu cấu hình thông báo chưa tối ưu."], "category": "Automation", "entities": ["Google Apps Script", "Gmail", "Gemini", "Hacker News"], "summary_vi": "Một nhà sáng lập chia sẻ giải pháp dùng Google Apps Script đơn giản viết cùng Gemini để đối phó với làn sóng email rác do AI tạo ra. Kịch bản chạy mỗi phút một lần, tự động kiểm tra xem người dùng đã từng gửi thư tới người gửi chưa; nếu chưa, thư sẽ được gắn nhãn 'Review/Unknown', lưu trữ khỏi Inbox và đánh dấu không quan trọng để ngăn thông báo làm phiền.", "key_changes": ["Cung cấp đoạn mã Google Apps Script miễn phí giúp tự động lọc email outreach và spam được tạo bởi AI ra khỏi Inbox.", "Sử dụng phương pháp lọc tiền định (deterministic): kiểm tra lịch sử đã từng gửi thư đến địa chỉ đó hay chưa (to:senderEmail); nếu chưa từng gửi, thư sẽ bị lưu trữ (archive), chuyển vào nhãn 'Review/Unknown' và đánh dấu Unimportant.", "Kịch bản chạy ngầm định kỳ 1 phút/lần nhằm giảm thiểu việc điện thoại bị làm phiền bởi thông báo email rác.", "Từ chối giải pháp dùng LLM phân loại nội dung email để bảo vệ quyền riêng tư dữ liệu và tránh cuộc đua vũ trang tốn kém giữa AI spam và AI detection."], "sub_category": "Email Automation", "novelty_score": 30, "business_score": 65, "research_score": 10, "why_it_matters": "Làn sóng tạo nội dung hàng loạt bằng AI (AI slop) đang làm quá tải bộ lọc spam truyền thống của các nền tảng email. Trường hợp này chứng minh rằng một quy tắc tự động hóa xác định (deterministic) đơn giản, miễn phí và bảo mật quyền riêng tư đôi khi hiệu quả và thực tế hơn việc cố gắng tích hợp thêm một mô hình AI phức tạp để giải quyết vấn đề do chính AI tạo ra.", "developer_score": 70, "importance_score": 40, "possible_use_cases": ["Các nhà sáng lập, quản lý cấp cao áp dụng để làm sạch hộp thư đến khỏi các email chào hàng tự động bằng AI mà không tốn phí bản quyền công cụ bên thứ ba.", "Lập trình viên tùy biến script để mở rộng bộ lọc kết hợp với danh bạ Google Contacts hoặc webhook đồng bộ với CRM nội bộ.", "Xây dựng giải pháp phân loại email bước đầu bảo đảm an toàn dữ liệu, không để lọt nội dung nhạy cảm của doanh nghiệp sang các API AI bên ngoài."], "actionability_score": 90}