RequiredAddress went through the best-effort LoginHint, so a failed lookup of a
store sign-in link read as "any account may sign in". It now returns an error,
the chain passes it on, and FinishOAuth refuses the sign-in before connecting:
nothing is stored and the link stays unused. Follow-up to #1325 (CodeRabbit).
A store sign-in link is for one purchased mailbox, but any account that signed in
through it was connected: Inboxlogy signed jordan@stagovahq.com's link in as the
tenant's admin@stagovahqcom.onmicrosoft.com, which connected that account into the
customer's workspace, used up the link ("This link is complete") and never reached
GraphKit, so the purchase stayed unconnected until the link neared expiry.
- connectlink.PartnerLinks gains RequiredAddress: store links require their mailbox;
partner API links keep a pre-fill-only hint ("").
- email.OAuthConnectWithCodeAs checks the signed-in address right after the owner
lookup and refuses another account (signed_in_as_other) before storing anything,
so the slot is released and the link stays usable. The connect page shows
"You signed in to Microsoft as X, but this link is for Y ...".
Register the Outlook app as GraphKit's microsoft.sign_in_client_id and mint
Outlook single-mailbox sign-in links for oauth Microsoft mailboxes, as for
Google. The store no longer needs the admin mailbox's password to approve its
app in the tenant. Admin Retry connect now also mints a missing sign-in link.
GraphKit now reports a Google mailbox as oauth, not ready while it is still
provisioning (the mail vendor's API stays in LICENSING / SETUP_IN_PROGRESS
after its team has finished the Workspace). Mint and register the sign-in
link for provisioning mailboxes too, so the vendor can sign them in.
* feat: cache each Gmail and Outlook mailbox's message-map answers in the worker (found and not found, dropped on every Add, Del and arrival admission) so delta and history walks re-reading pages held behind a fair-use deferral stop asking the control plane about the same ids every pass
* feat: hold the worker's per-mailbox message-map cache to its 5,000-entry limit while inserting a large read, still returning every answer to the caller
* feat: serve warmup partner selection from per-process pool-wide snapshots (own-tier and borrowable cohorts per pool, today's new-thread counts and bounced recipients at 20s, seven-day counts at 1m) instead of per-call id-array scans, recounting a revalidated reserved send's recipient live so it is never held against itself
* feat: describe the warmup partner snapshot as refreshed every 20s with the last good copy served while a refresh runs or fails, and say only the caller's own context ending fails a first read
* feat: index outbound_attempts by task and reply_intents by unibox message so send recovery and reply lookups stop scanning those tables, default the Go services' log level to info outside dev with a documented LOG_LEVEL override, and drop successful batched message-map lookups from the access log
* feat: say in the configuration docs that LOG_LEVEL filters the Go services' structured log lines and leaves startup messages and the access log alone
* feat: pass LOG_LEVEL through the self-host compose env to the backend, consumer, worker and forms containers
GraphKit's oauth connection method: the store registers its Google OAuth client
(google.sign_in_client_id, live only), mints a single-mailbox connect link per
waiting mailbox (store_signin_links, migration 000413) and registers it with
GraphKit, which shows it to the mail vendor's team. The connect lands through
connectlink's partner hooks (login hint = the mailbox), the store links it to the
purchase, starts warmup and reports it signed in. Delegation/token/password are
unchanged; additive table only, so the previous release keeps working.
feat: Microsoft 365 tenant consent for purchased mailboxes (automatic with the admin mailbox, partner consent links, store approval fallback, action_required)
* feat: run a narrow check (Graph inbox and junk delta, IMAP INBOX and junk from their cursors, Gmail history only) on a push or IDLE wake at most every 30 seconds while the full sync pass keeps its own timer, and resolve each Graph delta page and Gmail history page through one batched message-map lookup including the immutable-id regular fallback
* feat: give every mailbox without a live push channel or IMAP IDLE watch a jittered 5-minute narrow check (Graph inbox and junk, IMAP INBOX and junk, Gmail history) that starts the moment IDLE drops or a push channel lapses and stops when the signal is back
* feat: run every mailbox's full sync check every 15 to 60 minutes scaled by mailboxes held against the plan allowance (operator-editable sync.full_check_min_minutes and full_check_max_minutes, shipped as SyncPolicy.full_check_seconds with seeds and pool-linked mailboxes kept at one minute), give errors their own backoff in nextSyncDelay, retire SYNC_PUSH_FALLBACK_INTERVAL, and widen the sync_stale monitor and provider hold recovery freshness windows to match
* feat: document that mailboxes without push or IDLE see new mail within about 5 minutes through the narrow check while every folder gets the 15 to 60 minute full check, in the mailboxes guide, realtime mailbox sync, configuration and architecture pages, and list the narrow poll interval under effective limits
* feat: keep the full sync pass on a one-minute catch-up cadence while an import or Graph, Gmail or IMAP recovery is unfinished and pull it forward when a narrow check meets such work, add a 15-minute safety narrow check behind live push channels, treat a zero mailbox allowance with mailboxes held as the slowest full check, widen the stale backfill monitor to the full check window, and correct the IMAP_IDLE admin text
* feat: offer fleet nodes the backend's private TLS address through opt-in NODE_BACKEND_INTERNAL_URL and NODE_BACKEND_INTERNAL_CA (rendered as WARMBLY_BACKEND_INTERNAL_URL and a base64 CA beside the unchanged public address), have workers and consumers probe it at startup and route every control-plane client through one CA-pinned transport or fall back to the public URL, and add the workers root's backend_internal_port rule and the runtime root's nodes_private_backend switch
* feat: replace a node's private control-plane connections every 2 minutes over HTTP/1.1 so new backend tasks behind the Cloud Map name get node traffic, resend a request whose private dial, DNS or TLS handshake failed once to the public address (replayable bodies only, never after the request was written), and route all node calls to the public address for 5 minutes after 3 dial failures in a row, logging each switch once
* feat: keep a node's control-plane call from being resent to the public address once any private attempt wrote its headers, send the caller's own body on a first send during a public window, and mark the backend's NODE_BACKEND_INTERNAL_URL and CA settings as needing a backend restart in the configuration docs
feat: in-app store for domains and Google Workspace or Microsoft 365 mailboxes through GraphKit, with a shared prepaid balance, bundled mailbox billing and partner add-on