Thoughts

2 thoughts of type "observation" about "Gmail"

Open Brain Session 15 complete - Gmail bridge blocklist + database cleanup: Added sender/subject pattern filtering to Gmail Apps Script (BLOCKED_SENDERS, BLOCKED_SUBJECT_PATTERNS, ALLOWED_SENDERS). Fixed Apps Script V8 compatibility (replaced for...of/const with traditional loops/var). Deleted 103 junk email thoughts from database (marketing, newsletters, status alerts, security notifications), kept 9 legitimate entries (Wesley Tingle client email, Lauren shop bills, Belzel Books order, storage/utility payments, Later Analytics report). 300 thoughts remaining. Also repaired corrupted .git directory (iCloud sync broke object storage), re-cloned from GitHub. Key finding: junk emails came through ChatGPT GPT path (source: "chatgpt"), not the Apps Script label system.

People: Wesley Tingle, Lauren
3/29/2026

Gmail Apps Script: always check for "unsubscribe" in the FULL email body before truncating for capture. Marketing emails put unsubscribe links at the bottom, well past any reasonable truncation limit (e.g. 5000 chars). First version of the Open Brain Gmail bridge missed this and let through Michaels, Old Farmer's Almanac, Marriott, and other marketing emails.

People: Michaels