A Plan for Attachments, a Third Mailbox, and a Study of Who Else Is Doing This
Every attachment was already on disk, sealed inside its email. Now there's a plan for opening them up, a small new inbox to build it on, and a study asking whether someone else has already built it.
Why Care?
Most of what matters in email arrives as an attachment: the deck, the term
sheet, the signed contract. Sync has always downloaded every one, inside its
.eml, but nothing could find them. This round works out how to make them
searchable by keyword, by meaning, and by who sent what, without standing up a
data platform to do it. It also sets up a small inbox to try that on before
running it over 440,000 messages.
What's New?
A mirror of today's storage: original
.emlfiles, one SQLite index, and a copy in R2, with the attachments already inside the raw files.context-v/mirrors/Database-Setup-for-Email.md.An exploration of 2026 practice, comparing where metadata lives, what format extracted text takes, which tool converts attachments, where vectors live, and how a graph gets built. A second pass weighs libSQL, Postgres with pgvector, and SurrealDB, records what running Graphiti on Neo4j actually cost us (about $0.76 an episode hosted), and moves the always-on side to Cloudflare: a Worker connector over D1, Vectorize, and R2, with Docling in a Cloudflare Container.
context-v/explorations/Attachments-Search-and-a-Knowledge-Graph.md.A spec in four phases: an attachments inventory, extraction to Markdown, hybrid search, then a correspondent graph. It's a draft, waiting on sign-off and on the study below.
context-v/specs/Attachments-as-First-Class-Mail.md.A click-by-click playbook for connecting a Google Workspace mailbox: admin settings, 2-Step Verification, All Mail's Show in IMAP, the app password, and the exact error each missed step produces.
context-v/blueprints/Connecting-a-Google-Workspace-Mailbox.md.A third mailbox,
michael@humain.vc, connected by following that playbook: 713 messages, 0.18 GB, fully synced in under a minute. It's the test bed for the attachments work.Doppler, being set up for the secrets kay-os runs on, chiefly so the Worker's account list stops being pasted by hand. The README covers the one environment kay-os needs and how to add a secret. Nothing reads from Doppler yet, and 1Password stays the source of truth.
A study, mounted at
studies/study-email-toolkits-agents: which projects are taming email with agents, starting with msgvault, so kay-os can decide whether to adopt, extend, or build.
What's Next
Count humain.vc's attachments by type, size, and hash (Phase 1 of the spec, on 713 messages instead of 440,000). Read msgvault's code in the study before building anything it already does.