Skip to content
Historical revision — this record as it stood on 15 May 2026, not the current version. View the current record →

service-email — The WORM Ingest

service-email is the Totebox's email server. It listens for SMTP and IMAP traffic, sanitises every payload — stripping HTML rendering logic and tracking pixels — and writes the raw text into an append-only Maildir on local block storage. The service does not interpret content; that work happens upstream in service-content. This article covers the ingest pipeline, the Sovereign properties that distinguish it from a conventional email client, and its relationship with the Microsoft 365 integration path.

The ingest pipeline

The service operates in six stages, each carrying a specific Sovereign property:

Stage Action Sovereign property
Boot The Rust binary scans the local audit store and recovers pending jobs Self-healing — no work is lost across restarts
Auth OAuth2 token refresh via Microsoft Entra (client-credentials flow) Immunity — no legacy username/password authentication
Sync IMAP mirror loop writes verified mail into Maildir using atomic filesystem operations Resilience — atomic writes prevent partial records
Clean Hygiene agent enforces TTL rules on the cloud source while the Maildir copy remains permanent Sovereignty — the vendor cloud cannot retroactively erase the operator's record
Render When the operator drafts a templated email, the engine renders the HTML payload and stages it for manual forwarding Human-in-the-loop discipline
Audit The audit logger writes non-blocking JSONL entries that downstream services consume Independent ingest by service-people and the Gravity Engine

Microsoft 365 integration

The OAuth2 setup uses a Confidential Client registration in Microsoft Entra 1. Three Graph permissions are required: Mail.ReadWrite (to sync into Maildir), Mail.Send (to stage templates), and User.Read.All (to verify sender identities). Admin consent is granted once so the service runs as a daemon without per-message human interaction.

This approach confines the cloud-trust boundary to a single, well-defined point in the pipeline. Each polling cycle is a discrete, authenticated HTTP exchange — rather than a persistent IMAP connection — making the ingest boundary auditable and stateless.

The WORM discipline

service-email writes payloads to the WORM Maildir — an append-only structure on the Totebox's local block storage. 2 There is no delete operation. A payload written to the Maildir cannot be erased, even if the cloud source (the Microsoft 365 mailbox) is later modified, deleted, or the subscription lapses. The operator's email record is sovereign: it belongs to the archive, not the cloud provider.

What service-email is not

service-email is the ingest boundary, not the email client. It does not render HTML emails for the operator to read. It does not synthesise content. It does not classify or route messages. It hands the sanitised raw payload to service-content and service-extraction and surrenders execution. Downstream services handle everything from entity extraction to the F3 EMAIL surface the operator sees in os-console.

See also

  • service-people — the identity ledger that receives sender records from service-email via service-extraction
  • service-content — the Gravity Engine that synthesises content from the WORM Maildir
  • app-console-input — the F12 Input Machine; companion ingest surface for non-email payloads
  • sys-adr-07 — structured data never routes through AI (governs downstream handling of service-email output)
  • totebox-os — the Totebox that hosts service-email and its WORM storage
  1. Hardt, D. (Ed.). 'The OAuth 2.0 Authorization Framework.' IETF RFC 6749, 2012. https://www.rfc-editor.org/rfc/rfc6749

  2. NIST. 'Security Guidelines for Storage Infrastructure.' SP 800-209, 2020. https://doi.org/10.6028/NIST.SP.800-209

Important Information

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is a trade name of Woodfine Capital Projects Inc. ("Woodfine"). PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. See TRADEMARK.md in this repository for the full trademark notice.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →