Repository navigation
v0.3.1
Prebuilt pure Microsoft Outlook binary (outlook / outlook.exe) — CLI, TUI, HTTP API, and MCP server.
Changes
- Calendar: Graph's offset-less UTC times are normalised to RFC3339, so the TUI shows the right start and end times again, and the cached calendar is bounded to the sync window so old history no longer hides upcoming events.
create-event --all-daysends midnight boundaries (previously a Graph 400 outside UTC). - Sign-in: login, refresh and
doctorshare one scope list, which now includesUser.ReadBasic.Allfor directory search. A sharedteams-clisession that has expired or only holds Teams scopes is upgraded silently through its refresh token instead of asking you to sign in. - Mail folders: a folder listing that was throttled or cut short is merged into the cache instead of replacing it, so folders are no longer dropped from the cache.
- Bounded scans: the first sync of a very large folder started by a listing (CLI, MCP, HTTP) stops after 40 pages and continues on the next call. HTTP filtered listings stop after 20 pages, like the CLI and MCP.
- TUI: archive, move and read/flag toggles are rolled back when Graph rejects them. Start-up no longer switches the list back to the Inbox, and the Focused filter applies to the first selection.
- Multiple accounts: each account has its own draft file (
drafts/<user>.json). The olddrafts.jsonmoves to the first account that opens the TUI. A credentials file without a user id no longer opens another account's cache. - Corporate networks: HTTPS now trusts the OS certificate store in addition to the bundled roots. A private root CA can be added with
OUTLOOK_EXTRA_CA_PEM(SSL_CERT_FILEandNODE_EXTRA_CA_CERTSalso work). An untrusted-certificate error says what to set, andoutlook doctorlists the CA files it loaded. See docs/NPM.md. - MCP: tool descriptions state how many Graph requests a call costs and that
offlinereads only the cache. Tool names and arguments are unchanged.
Compatibility changes
outlook serverequires a key by default. Without--api-key, a loopback server generates a random Bearer token for each run and prints it to stderr.
Migration: pass--api-key <KEY>for a stable key, or--allow-keylessto keep the old keyless behaviour on loopback.outlook serverefuses browser origins unless they are allowed (403, preflights included), with or without a key. Pages onlocalhostwere allowed before.
Migration: start the server with--cors-origin http://localhost:5173(repeatable) for each browser app.- A keyless
outlook serverefuses otherHostnames (403) thanlocalhost,127.0.0.1and[::1].
Migration: list extra names inOUTLOOK_SERVE_ALLOWED_HOSTS(comma-separated), or use--api-key. - Calendar JSON times for timed events end in
Z(for example2026-11-23T09:00:00Z). All-day events keep their date-only form. create-event --time-zone: wall-clock input is read in that zone, and RFC3339 input is sent as a UTC instant.--all-dayneedsYYYY-MM-DDfor--startand--end, with an exclusive end date.- Directory search needs
User.ReadBasic.All. Existing sessions keep working without it; runoutlook loginonce to get directory results.outlook doctorlistsmissing_scopes. In tenants that restrict user consent, this scope may need admin approval; until then, setscopes = [...]inconfig.tomlwithout it. - Listings can return a partial first sync: CLI, MCP and HTTP mail listings may report
"sync_complete": falsewhile a large folder is still syncing, and HTTP filtered listings reporthas_moreafter 20 pages.
Full Changelog: v0.3.0...v0.3.1