You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The daily digest email rendered by scripts/main.py contains no unsubscribe link (grep for unsubscribe: zero hits). The only way out is buried in the GAS welcome email: "reply to this email with unsubscribe" — handled manually. There is also no confirmation step, so anyone can subscribe someone else's address.
The GAS endpoint (scripts/subscribe_handler.gs) already handles subscribe writes; adding an unsubscribe action is an extension of the existing handler, not new infrastructure.
User story
As a subscriber, I want a one-click unsubscribe at the bottom of every digest, so that when I no longer want it I don't have to mark it as spam.
Why now
Spam reports poison the sending domain's deliverability for all remaining subscribers. Gmail and Yahoo have required one-click unsubscribe for bulk senders since 2024 — this is a deliverability floor, not a nice-to-have.
Acceptance criteria
Every digest email contains an unsubscribe link handled by the GAS endpoint: it removes the address from subscribers and shows a confirmation page.
The List-Unsubscribe header (and List-Unsubscribe-Post for one-click) is set on outgoing digests.
New subscriptions trigger a confirmation email; the address only becomes active after the confirmation link is clicked.
Reverted in 3a66d26 by owner decision: the new flow requires redeploying the GAS web app, which isn't worth it for now. The deployed (legacy) GAS version stays authoritative; repo script restored to match it. Reopening to keep the idea on the roadmap for whenever a GAS redeploy is convenient.
Closing by owner decision: the code landed in b774dd6 and was reverted in 3a66d26 because the flow requires redeploying the GAS web app, which the owner judged not worth it right now. The deployed legacy GAS version stays authoritative and the repo script matches it. The redeploy checklist stays in this issue.
Activity
alloevil commentedon Aug 21, 2026
代码侧已完成并合入 main(b774dd6)。注意:GAS 端需要手动重新部署才实际生效:
scripts/subscribe_handler.gs粘贴到 Apps Script 项目;UNSUBSCRIBE_SECRET(随机长字符串)和GITHUB_TOKEN;UNSUBSCRIBE_SECRET;部署步骤详见 README「Deploy the subscribe/unsubscribe endpoint」一节。在 GAS 重新部署之前,digest 里的退订链接会指向旧端点并返回无效操作。
alloevil commentedon Aug 21, 2026
Reverted in 3a66d26 by owner decision: the new flow requires redeploying the GAS web app, which isn't worth it for now. The deployed (legacy) GAS version stays authoritative; repo script restored to match it. Reopening to keep the idea on the roadmap for whenever a GAS redeploy is convenient.
alloevil commentedon Sep 16, 2026
Closing by owner decision: the code landed in b774dd6 and was reverted in 3a66d26 because the flow requires redeploying the GAS web app, which the owner judged not worth it right now. The deployed legacy GAS version stays authoritative and the repo script matches it. The redeploy checklist stays in this issue.