Household infrastructure · EmailService deployed · Docs 03 Oct 2026

One email service.
Separate access for every person.

Assistants and household apps use the same Rust service to find emails, read attachments and prepare drafts. Each request carries permission for a particular owner and set of mailboxes.

The service sits between clients and Gmail

Architecture · Arrows show requests / data

Keycloak issues user login tokens. Separate hashed bearer grants support backend apps and local clients. Google consent connects a mailbox; Keycloak login decides who may use it.

Direct tools: give me the source

Live Gmail search, message and thread reads, attachment download, index queries and unsent drafts with files. A mailbox + message + MIME part identifies an attachment.

Ask mode: investigate and explain

The built-in agent searches bounded index results and provides evidence. It has no arbitrary SQL, web or mutation tools. Attachment text enters the index when read, rather than pre-extracting every file.

Draft tools do not send mail. Cleanup tools propose exact messages; Trash requires a separate authenticated human review. Morning briefings are implemented but currently disabled. Scanned PDF OCR and Office text extraction are not implemented.