Grok Bot 电脑上的脚本筛查家长收件箱,转发真实医疗邮件
概要
作者在 Grok Bot 电脑上用脚本配合共享提示词,筛查一位 90 岁家长的收件箱,识别诈骗、退订垃圾邮件,并把真实的医疗邮件转发给一位家人。
核心流程
起因:让 90 岁长辈的收件箱重新可用。 作者的母亲日常用 iPad,收到大量垃圾邮件和诈骗邮件,邮箱几乎没法用。Grok Bot 在电脑上放了一个脚本,邮件一到就筛查,凡是诈骗、钓鱼或类似邮件,立刻从收件箱移走。顺带也会过滤垃圾邮件,移到垃圾文件夹的邮件会自动退订,没有退订功能的就拉黑。作者还在手机和 iPad 上装了 VPN,用来拦截诈骗广告和假的账号到期通知;这部分与 Grok Bot 的邮件脚本分开,作者说这些做法帮了很大忙。
作者的母亲和家人住在一起。作者在评论里说,Grok Bot 会把真正的医疗邮件转发到一位家人(作者的配偶)的邮箱,并把预约放进那人的日历。作者没有给出健康或处方 bot 的建议,只把 Amazon Pharmacy 作为别人可以选的一个选项提过。
有人请作者分享脚本时,作者分享的是提示词。
- 交给 bot:筛查来信,转发真正的医疗或药房邮件。 作者贴出的是要用的提示词。占位符保留原文。密码存在只有检查脚本能读的文件里(
chmod 600),从不打印,也从不从密码管理器复制。如果 Grok Bot 所在电脑连不上 IMAP 端口,读写/分类脚本就跑在所有者控制的常开 Mac 上,该脚本只能读取、查看邮件头,并在所有者允许时移动邮件;它从不发送、从不起草,也从不决定钱的事。完整检查每天跑两次,按提示词里的本地时间 6:00 和 15:00,没事需要所有者处理时保持安静。可选的 15 分钟路径只看收件箱新邮件,那条路径从不打开垃圾邮件或 Spam,可以用一个标志文件关掉。
中文意思:检查妈妈的邮箱,把真实的医疗/药房邮件转发到 [family member’s email];不要猜测,未核实就说明并核实。邮箱与访问:账号为 [Mom’s email address],IMAP 主机、端口和安全设置取自提供商;密码存于仅检查脚本可读的文件(chmod 600),不得打印或让人从密码库复制;若本机无法连接 IMAP 端口,则在所有者控制的常开 Mac 上运行读取/分类脚本,该 Mac 只能读取、查看邮件头,经所有者允许可移动邮件,绝不发送、起草或决定金钱;若网页邮箱的垃圾邮件文件夹 IMAP 名称不同,使用该名称。时间安排:每天本地 [6:00 AM] 和 [3:00 PM] 各做一次完整检查,无事时不打扰;可选每 15 分钟只读查看仅 NEW 收件箱邮件,绝不打开 Junk/Spam,仅在疑似诈骗、钓鱼、账户、银行、类似 Medicare 或不熟悉的免费邮箱发件人时唤醒 Bot,跳过明显营销,不确定或分类器故障时唤醒,所有者可用标志文件关闭。每次完整检查:1) 查看上次检查以来的新收件箱邮件及 Junk/Spam 中遗留邮件;2) 依据邮件头(From 域、Return-Path、Reply-To、认证)判断,绝不打开疑似钓鱼邮件,绝不点击正文链接;3) 明确的诈骗/钓鱼(冒充;虚假账户、存储、注册、续费、配送或账单;凭据、付款或礼品诱饵)从收件箱移到垃圾箱,不退订;4) 可能是诈骗但不确定的移到 Spam,不退订,记录为等待所有者;5) 真实邮件及所有者指定的受保护发件人邮件留在收件箱;6) 仅对已在 Junk/Spam 且带 List-Unsubscribe 头的邮件退订(优先一键,否则 mailto),绝不使用正文链接,绝不退订 [senders the owner wants kept, e.g. Social Security];7) 每次移动前或移动时在带日期的撤销文件中记录(文件夹、UID 或消息 id、发件人、主题、时间、原因),移动应可逆;8) 绝不永久删除,绝不清空 Trash 或 Spam,除下述医疗转发外绝不发送、回复或转发;9) 登录验证码和密码重置邮件留在收件箱,不转发验证码,过期验证码仅在所有者同意时可在计划检查中移到垃圾箱。医疗/药房转发:仅转发来自 [e.g. Amazon Pharmacy, PillPack, the pharmacy, MyChart / the health system] 的真实邮件,确认 From 域为真实域名而非仿冒;原件留在收件箱;从 Bot 拥有且允许发送的邮箱转发副本到 [family member’s email],除非所有者明确允许,不要从妈妈的账户发送;记录每次转发(日期、账户、发件人、主题),不重复转发同一邮件;不转发验证码、密码重置或任何像诱饵的内容,虚假 MyChart、Medicare、AARP 或“医疗”注册邮件属于诈骗(按第 3 或 4 步处理),不转发。仅在以下情况告知所有者:诈骗邮件进入收件箱并被移入垃圾箱;可疑邮件被移到 Spam;真实医疗/药房邮件已转发或无法转发;IMAP 登录或检查失败无法完成。否则不发送任何消息。
You check Mom’s email and forward genuine medical/pharmacy mail to \[family member’s email\]. Do not guess. If something isn’t verified, say so and check it.
Mailbox and access
\- Account: \[Mom’s email address\]. IMAP host, port, and security: \[IMAP settings from the provider\].
\- Store the password in a file only the check script can read (chmod 600). Never print it, never ask anyone to copy it from a password vault.
\- If this computer cannot reach the IMAP port, run the read/sort script on an always-on Mac the owner controls. That Mac may only read, peek headers, and (if the owner allows) move mail. It never sends, never drafts, never decides money.
\- If the webmail Spam folder has a different IMAP name, use that IMAP name.
Schedule
\- Run a full check twice daily, \[6:00 AM\] and \[3:00 PM\] local, and stay quiet when nothing needs the owner.
\- Optional: every 15 minutes, a read-only look at NEW Inbox mail only. Never open Junk/Spam on that path. Wake the bot only for likely scam, phishing, account, bank, Medicare-like, or unfamiliar free-webmail senders. Skip clear marketing. If unsure, or if the classifier is down, wake the bot. The owner can turn this watch off with a flag file.
Each full check
- Review new Inbox mail since the last check, and leftover mail in Junk/Spam.
- Judge from headers (From domain, Return-Path, Reply-To, authentication). Never open suspected phishing. Never click body links.
- Clear scam/phishing (impersonation; fake account, storage, enrollment, renewal, delivery, or billing; credential, payment, or gift lures): move Inbox → Trash. Do not unsubscribe.
- Might be a scam, not sure: move Inbox → Spam. Do not unsubscribe. Log it as waiting on the owner.
- Genuine mail, and anything on the protected-sender list the owner named, stays in Inbox.
- Unsubscribe only mail already in Junk/Spam that has a List-Unsubscribe header (one-click first, mailto if that is all there is). Never use a link in the body. Never unsubscribe from \[senders the owner wants kept, e.g. Social Security\].
- Log every move in a dated undo file (folder, UID or message id, from, subject, time, why) before or as you move it. Moves should be reversible.
- Never permanently delete. Never empty or purge Trash or Spam. Never send, reply, or forward except the medical forward below.
- Sign-in codes and password-reset mail stay in Inbox. Do not forward codes. Expired codes may be moved to Trash only during a scheduled check if the owner said so.
Medical / pharmacy forwards
\- Only genuine mail from these senders: \[e.g. Amazon Pharmacy, PillPack, the pharmacy, MyChart / the health system\]. Confirm the From domain is the real one, not a look-alike.
\- Leave the original in Inbox.
\- Forward a copy to \[family member’s email\] from a mailbox this bot owns and is allowed to send from. Do not send from Mom’s account unless the owner explicitly allowed that.
\- Log each forward (date, account, from, subject). Do not forward the same message twice.
\- Do not forward codes, password resets, or anything that looks like a lure. Fake MyChart, Medicare, AARP, or “healthcare” enrollment mail is a scam (step 3 or 4), not a forward.
Tell the owner only when
\- A scam had reached the Inbox and was trashed.
\- Something doubtful was moved to Spam.
\- Genuine medical/pharmacy mail was forwarded, or could not be forwarded.
\- IMAP login or the check failed and could not be completed.
Otherwise send nothing.
- 交给 bot:一次性清理塞满的 Gmail。 作者还分享了一个清理旧邮件的提示词,以及一个后续维护用的提示词。作者说,邮件越老,越可能没价值,所以删除会越激进。提示词 1 是一次性清理塞满的 Gmail。它按保留/删除规则走,做接近满的收件箱清理(盘点、分成 KEEP/DELETE/UNSURE、批量移到废纸篓、不清空废纸篓),以及 Gmail 归档推广邮件清扫。清理过程中不退订。
中文意思:清理已满的 Gmail;不要猜测,未核实就说明并核实;不永久删除任何内容,不清空 Trash。邮箱:[Mom’s Gmail address];可回答保留/删除问题的所有者:[name and how to reach them];收件箱处理年龄阈值:[e.g. older than 12 months, or older than a recent date if the box is almost full];任何年龄都始终删除的通知类型:语音邮件通知、[other automated notices the owner named];永不删除/永不退订的发件人:[owner’s list]。1) 先只读盘点:记录每个标签/文件夹的邮件数、未读数及可见大小(Inbox、All Mail/Archive、Spam、Trash、Sent、Drafts、分类标签),暂不改动。2) 确定“旧”的含义:超过 12 个月的邮件(含归档)积极清理低价值邮件;邮箱接近满时,还清理收件箱中超过上述阈值的无价值促销和群发邮件;Google 的邮箱将满/存储警告通知可删除。3) 将范围内每封邮件分类为 KEEP、DELETE 或 UNSURE,依据发件人和主题判断,Gmail 的 Promotions/Updates/Primary 标签不是可靠依据。始终 KEEP:作为购买记录的收据、订单、发票、发货确认;旅行预订、行程、确认;税务、法律和医疗邮件;银行、保险、医生、政府、学校等账户或对账单邮件;账户、账单、安全、服务状态和订单邮件;家人邮件;真人邮件;仅有持久价值的个人通信(重要生活或家庭事件、文件、协议或有情感意义);有相当把握有价值的内容,直接保留不问;同一发件人可两者兼有,保留订单/账户邮件,其促销仍可 DELETE。DELETE:无持久价值的明显营销、新闻简报、优惠和其他自动群发;上述任何年龄都始终删除的通知类型;不要把混合发件人整体视为删除,要检查主题。UNSURE:留在原处不动;向所有者列出每个不确定发件人:是什么、大约多少封、示例主题;请其逐项回复保留或删除,或“全部删除”/“全部保留”;仅按其回复行动,移动前重新确认每封邮件仍在原处。4) Gmail 中 DELETE 的去向:纯促销/群发移到 Spam,不要为此移到 Trash,Gmail 约 30 天后清空 Spam;明显过期的旧登录/验证码、账户活动通知和安全警报(超过 3 天,且不是账单、对账单、收据、交易提醒或真人邮件)移到 Trash,在 Gmail 约 30 天后清空 Trash 前可逆;归档促销清理中发现的账户、账单、订单或其他 KEEP 邮件留在归档(或放回归档),不留在 Spam;仍有效的安全警报和一次性登录验证码放入收件箱,不放 Trash 或 Spam。5) 本次清理期间不退订:退订只在邮箱维护中进行,且仅针对所有者自己放入 Spam 的邮件;所有者放入 Trash 的邮件意味着其想继续留在该列表。6) 分批移动并记录撤销:小批量处理,API 限流时放慢继续,不要另寻绕过失败的方法;记录每封移动邮件:id、发件人、主题、日期、源标签、目标、时间、原因(KEEP 未移动),保留日志以便任何批次可移回;绝不清空 Trash,绝不永久删除,除非所有者明确要求否则不碰 Sent;不要给救回的邮件加星或标记。7) 完成后报告一次:前后文件夹计数、KEEP/DELETE/UNSURE 数量、DELETE 最多的发件人及数量、从 Spam 救回收件箱的内容、仍在等待所有者的 UNSURE 清单及任何失败;若无失败且 UNSURE 清单已发送,不要额外发送过程状态。
Clear this Gmail because it is full. Do not guess. If something isn’t verified, say so and check it. Do not permanently erase anything, and do not empty Trash.
Mailbox: [Mom’s Gmail address] Owner who can answer keep/delete questions: [name and how to reach them] Age cutoff for the Inbox pass: [e.g. older than 12 months, or older than a recent date if the box is almost full] Always-delete notice types, any age: voicemail notifications, [other automated notices the owner named] Never-delete / never-unsubscribe senders: [owner’s list]
- Inventory first, read-only
Record each label/folder: message count, unread count, and size if you can see it (Inbox, All Mail/Archive, Spam, Trash, Sent, Drafts, category labels). Do not change anything yet.
- Decide what “old” means
- Mail older than 12 months, including archived mail: aggressively remove low-value mail.
- If the mailbox is almost full, also clear no-value promo and bulk from Inbox older than the cutoff above.
- Mailbox-almost-full / storage-warning notices from Google may be removed.
- Classify every in-scope message as KEEP, DELETE, or UNSURE. Judge by sender and subject. Gmail’s Promotions/Updates/Primary tabs are not a reliable test.
KEEP, always:
- Receipts, orders, invoices, shipment confirmations that are the record of a purchase
- Travel reservations, itineraries, confirmations
- Tax, legal, and medical mail
- Bank, insurer, doctor, government, school, and similar account or statement mail
- Account, billing, security, service-status, and order mail
- Family mail
- Mail from a real person
- Personal correspondence only if it has lasting value (important life or family events, documents, agreements, or sentimental significance)
- Anything you are fairly confident has value. Keep it without asking.
- The same sender can have both. Keep the order/account message; the promo from that sender can still be DELETE.
DELETE:
- Clear marketing, newsletters, deals, and other automated bulk with no lasting value
- The always-delete notice types above, any age
- Do not treat a mixed sender as all-delete. Check subjects.
UNSURE:
- Leave it where it is. Do not move it.
- List each unsure sender for the owner: what it is, about how many messages, and a sample subject.
- Ask them to reply keep or delete for each, or “delete all of these” / “keep all of these.”
- Act only on their reply. Recheck each message is still where you left it before moving it.
- Where DELETE goes in Gmail
- Purely promotional / bulk: move to Spam. Do not Trash it for this. Gmail empties Spam after about 30 days.
- Old sign-in/verification codes, account-activity notices, and security alerts that are clearly expired (more than 3 days old, and not a bill, statement, receipt, transaction alert, or mail from a real person): move to Trash. That is reversible until Gmail empties Trash after about 30 days.
- Account, billing, order, or other KEEP mail found during a promo sweep of the archive stays in the archive (or goes back to the archive). It does not stay in Spam.
- Security alerts and one-time sign-in codes that are still current go to the Inbox, not Trash or Spam.
- Do not unsubscribe during this clearance
Unsubscribe only happens in mailbox maintenance, and only for mail that is in Spam because the owner put it there. Mail the owner put in Trash means they want to stay on that list.
- Move in batches and log undo
- Work in small batches. If the API throttles, slow down and continue. Do not invent another way around a failure.
- Log every moved message: id, from, subject, date, source label, destination, time, why (KEEP was not moved). Keep the log so any batch can be moved back.
- Never empty Trash. Never permanently delete. Never touch Sent unless the owner explicitly said to.
- Do not star or flag rescued mail.
- Report once, when done
Folder counts before and after, how many KEEP / DELETE / UNSURE, top DELETE senders with counts, what was rescued from Spam to Inbox, the UNSURE list still waiting on the owner, and any failures. If nothing failed and the UNSURE list was already sent, don’t send extra status along the way.
- 交给 bot:按计划持续维护邮箱。 作者接着贴了邮件维护提示词,是为 Gmail 写的,仍然写明不要永久删除任何东西,不要清空废纸篓或 Spam。
中文意思:按计划定期清理这个 Gmail 的垃圾邮件和骚扰邮件;不要猜测,未核实的内容要说明并核实;不要永久删除任何内容,也不要清空“垃圾邮件”或“已删除邮件”。邮箱为[妈妈的 Gmail 地址],计划为[例如每天或每天两次],仅在需要时通知的所有者为[姓名],永不退订的发件人为[所有者名单,例如 Social Security、银行、其指定的对账单发件人],已处理发件人台账为[机器人保存的文件]。每次运行按顺序执行第一个适用的步骤,然后对该邮件停止。步骤1:是否已处理?检查台账中该 From 地址和 List-Unsubscribe URL 主机;若已处理则跳过;若之前退订失败则重试一次;否则继续。步骤2:垃圾邮件中的真实或重要邮件→挽救,不退订。包括收据、账单、发票、税务、银行或付款通知、真人、医疗、保险、政府、工作、旅行,以及任何永不退订的发件人。移除“垃圾邮件”标签并放入收件箱,不要加星标或标记;将该发件人域名加入所有者维护的安全发件人列表;告知所有者被挽救的内容(发件人、主题、日期);若同一邮件之前被挽救过又回到垃圾邮件,不要再次搬移,保留并记录一次,除非是永不退订的发件人,则再次挽救。步骤3:明显的垃圾邮件或钓鱼邮件→不进行任何退订。无 List-Unsubscribe 头、仅 http 或虚假链接、认证失败或被伪造、诈骗内容(虚假付款、存储、账户、配送或礼品诱饵);不要点击、不要回复、不要退订,留在垃圾邮件中;Gmail 约30天后清空垃圾邮件;记录为已跳过、垃圾邮件。步骤4:如何进入垃圾邮件。在 Gmail 中通常无法判断是所有者移到垃圾邮件还是 Gmail 在到达时过滤;视为未知并使用步骤5的保守规则。若所有者明显自己将其移到垃圾邮件,则无需询问直接退订,即使不是明显的营销邮件,但仍绝不针对永不退订的发件人,且仍绝不删除。步骤5:保守规则(Gmail 过滤或来源未知)。仅对来自合法发件人、具有有效 List-Unsubscribe 头的明确批量营销或新闻通讯邮件退订。若有任何疑问(交易或账户通知、来自个人的邮件、与其有业务往来的企业或组织、医疗、财务、政府、旅行或家庭相关),不要退订;若看起来真实则挽救(步骤2);否则记录为可能误分类(发件人、日期、主题、原因)并告知所有者。步骤6:如何退订(仅限步骤4或5中符合条件且仍在垃圾邮件中的邮件)。仅使用 List-Unsubscribe 头,绝不点击邮件正文中的链接;优先一键退订:若邮件有 List-Unsubscribe-Post: List-Unsubscribe=One-Click,则向 https URL 发送 HTTPS POST,正文为 List-Unsubscribe=One-Click,短超时、少量重定向、仅 https;无一键的 https 链接:仅当发件人是真实品牌或组织且 URL 主机在发件人自己的域名或已知邮件平台上时,才进行普通 GET,不使用表单、不点击跳转;若页面需要更多操作,记录为需要手动;仅 mailto:从同一邮箱发送退订邮件,严格使用头中的地址、主题和正文;若未给出,主题为“unsubscribe”;仅 http 或无可用的:跳过并记录;退订后将邮件留在垃圾邮件中,不要因为退订而移到已删除邮件;在台账中记录结果(日期、发件人、发件地址、方法、结果)以免重复。步骤7:垃圾邮件、归档和已删除邮件的含义。仅对垃圾邮件中的邮件退订;绝不对收件箱、归档/所有邮件、已删除邮件或任何其他标签退订;所有者放入已删除邮件的邮件意味着他们想留在该列表,绝不退订;纯促销邮件出现在垃圾邮件中可以留在那里,Gmail 约30天后清空垃圾邮件,不要同时移到已删除邮件;在垃圾邮件中发现的账户、账单或订单邮件,或从归档中扫出的看似促销但实际是账户邮件的,放入归档而非收件箱,除非是当前安全警报或登录验证码;在垃圾邮件中发现的当前安全警报和一次性登录验证码放入收件箱;促销和批量邮件也不应在归档中堆积,对现有归档邮件应用同样的促销与账户判断;不要作为归档清扫的一部分进行退订。步骤8:旧验证码和安全通知(仅计划运行,不额外运行)。已使用或过期的登录和验证码超过[1小时]:移到已删除邮件;自动账户活动通知(新设备、登录、个人资料更改)和安全警报超过3天,在除已删除邮件外的任何文件夹中:移到已删除邮件,尽可能追溯到邮箱最早;绝不移动账单、对账单、收据、交易警报、账单到期警报、真人邮件、法律条款通知、营销或任何边界情况;绝不记录验证码本身;绝不退订因此移动的任何内容。步骤9:仅在以下情况告知所有者:从垃圾邮件中挽救了真实邮件;某些内容可能被误分类并需要保留/退订决定;退订需要手动步骤;检查无法完成。否则不发送任何内容。
Keep this Gmail clear of junk and spam on a schedule. Do not guess. If something isn’t verified, say so and check it. Do not permanently erase anything, and do not empty Trash or Spam.
Mailbox: [Mom’s Gmail address] Schedule: [e.g. daily, or twice daily] Owner to tell only when something needs them: [name] Never-unsubscribe senders, even if they are in Spam: [owner’s list, e.g. Social Security, a bank, a statement sender they named] Handled-sender ledger: [file the bot keeps]
Each run, take the first step that applies, then stop for that message.
- Already handled?
Check the ledger for this From address plus the List-Unsubscribe URL host. If already handled, skip. If a previous unsubscribe failed, retry once. Otherwise continue.
- Real or important mail in Spam → rescue, do not unsubscribe
This means receipts, bills, invoices, tax, bank or payment notices, a real person, medical, insurance, government, work, or travel, and any never-unsubscribe sender.
- Remove the Spam label and put it in the Inbox. Do not star or flag it.
- Add that sender’s domain to a Safe Senders list the owner keeps.
- Tell the owner what was rescued (sender, subject, date).
- If the same message was rescued before and is back in Spam, don’t bounce it again. Leave it and note it once, unless it is a never-unsubscribe sender, which you rescue again.
- Obvious spam or phishing → no unsubscribe of any kind
No List-Unsubscribe header, http-only or bogus link, failed or spoofed authentication, or scam content (fake payment, storage, account, delivery, or gift lures). Do not click, do not reply, do not unsubscribe. Leave it in Spam. Gmail empties Spam after about 30 days. Log it as skipped, spam.
- How it got into Spam
In Gmail you usually cannot tell whether the owner moved it to Spam or Gmail filtered it on arrival. Treat it as unknown and use the conservative rule in step 5. If the owner clearly moved it to Spam themselves, unsubscribe without asking, even when it is not obvious marketing, still never from a never-unsubscribe sender, and still never delete it.
- Conservative rule (Gmail-filtered or unknown origin)
Unsubscribe only clear bulk marketing or newsletter mail from a legitimate sender that has a valid List-Unsubscribe header. If there is any doubt (a transactional or account notice, anything from a person, a business or organization they deal with, anything medical, financial, government, travel, or family): do not unsubscribe. If it looks real, rescue it (step 2). Otherwise log it as possibly misfiled (sender, date, subject, why) and tell the owner.
- How to unsubscribe (only mail that qualified in step 4 or 5, and that is still in Spam)
- Use only the List-Unsubscribe header. Never click links in the message body.
- One-click first: if the message has List-Unsubscribe-Post: List-Unsubscribe=One-Click, HTTPS POST the body List-Unsubscribe=One-Click to the https URL. Short timeout, few redirects, https only.
- https link without one-click: a plain GET only if the sender is a real brand or organization and the URL host is on the sender’s own domain or a known mailing platform. No forms, no click-through. If the page needs more, log it as needs manual.
- mailto only: send the unsubscribe email from this same mailbox, using exactly the header’s address, subject, and body. If none is given, subject “unsubscribe.”
- http-only, or nothing usable: skip and log it.
- Leave the message in Spam after unsubscribing. Do not move it to Trash because you unsubscribed.
- Log the result in the ledger (date, sender, from address, method, result) so you don’t do it twice.
- What Spam, Archive, and Trash mean
- Unsubscribe only from mail in Spam. Never unsubscribe from Inbox, Archive/All Mail, Trash, or any other label.
- Mail the owner put in Trash means they want to stay on that list. Never unsubscribe from it.
- Purely promotional mail that turns up in Spam can stay there. Gmail empties Spam after about 30 days. Do not also Trash it.
- Account, billing, or order mail found in Spam, or promotional-looking mail swept from the archive that is actually account mail, goes to the Archive, not Inbox, unless it is a current security alert or sign-in code.
- Current security alerts and one-time sign-in codes found in Spam go to the Inbox.
- Promotional and bulk mail should not be left to pile up in the archive either. Apply the same promo-versus-account test to existing archived mail. Do not unsubscribe as part of an archive sweep.
- Old codes and security notices (scheduled runs only, not extra runs)
- Used or expired sign-in and verification codes more than [1 hour] old: move to Trash.
- Automated account-activity notices (new device, sign-in, profile changes) and security alerts more than 3 days old, in any folder except Trash: move to Trash. Go as far back as the mailbox goes.
- Never move bills, statements, receipts, transaction alerts, bill-due alerts, mail from real people, legal-terms notices, marketing, or anything borderline.
- Never record the codes themselves. Never unsubscribe from anything you moved this way.
- Tell the owner only when
- Real mail was rescued from Spam.
- Something was possibly misfiled and needs a keep/unsubscribe decision.
- An unsubscribe needs a manual step.
- The check could not be completed.
Otherwise send nothing.
怎么检查: 作者后来写道,维护路径不会去退订没有正规退订链接的邮件,专门是为了不让诈骗方确认这是一个活跃地址。几周后,作者说过滤器显示这些邮件都有效、没有漏掉"no misses",于是作者不再让它报告。这是作者的说法,原文没有对比数字,也没有给出清掉多少诈骗邮件、误报或退订的次数。原文没写作者怎么检查,除了作者自己的复查之外,那些「没有漏掉」"no misses"是怎么统计的。
核心观点和结果
- 电脑上的脚本会在邮件到达时立即筛查,诈骗或钓鱼邮件会马上被移出收件箱。 它也会过滤垃圾邮件,被移到垃圾文件夹的邮件会被退订,如果没有退订功能就拉黑。作者还给手机和 iPad 装了 VPN;这部分与 Grok Bot 脚本无关。
- 真实的医疗和药房邮件会转发到家人的邮箱,预约会加到那个人的日历里。 原邮件留在收件箱。转发从 bot 被允许发信的邮箱发出,而不是从父母的账户发出,除非账户所有者明确允许。验证码、密码重置和诱导邮件不转发。
- 收件邮件提示词对脚本能做什么持保守态度。 它根据邮件头判断,不打开可疑钓鱼邮件,也不点击正文链接。确认的诈骗邮件会从收件箱移到废纸篓,且不退订。存疑邮件移到垃圾邮件并记录为等待所有者处理。移动操作记录在按日期命名的撤销文件里,应当可以撤销。废纸篓和垃圾邮件从不被清空。登录验证码留在收件箱,不转发。
- 维护期间的退订只针对已经在垃圾邮件或垃圾文件夹里、且带有 List-Unsubscribe 头的邮件,优先一键退订,绝不通过正文链接退订,也绝不退订所有者想保留的发件人。 一次性清理提示词完全不退订。作者后来确认,没有合法退订链接的邮件不会被退订,因此不会告诉诈骗方这个地址是活跃的。
- 几周后,作者不再让过滤器报告,称报告显示这些邮件都是有效的,没有漏判"no misses"。 这是作者的说法,原文没有对比数字。
他人补充
他人补充(不是作者原文)
- atlascirrus 补充说,自动退订只应用在带有正规退订标头的真实公司邮件上,因为对真正的诈骗邮件点退订反而会确认这个地址是活的,这类邮件用拦截或过滤更稳妥。这位评论者还建议每周发一份简短的清单,列出被挑出来的邮件,发给邮箱主人而不是发给父母,用来发现误判,比如真实的银行或药店通知。作者后来的回复已经写进工作流,说提示词在没有正规链接时本来就会跳过退订。
- redwinerun 问 Grok Bot 还帮过哪些忙,以及怎么给不看邮件的父母设置这套东西。DripDiscDyes 和 flyingbourbonshooter 想复用这个思路或脚本,作者因此把提示词发了出来。
来源
- 平台
- 原作者
- PilotAlan
- 原文日期
- 分类
- 邮件与日程、生活助理
这条证据标签是什么意思
全文核对
来源已经读过(帖子、文章或字幕)。这只说明原文被读过,不代表本站复现了作者的结果。