Skip to content

Add Microsoft Graph mail, calendar, and drive emulation#28

Open
elie222 wants to merge 27 commits intovercel-labs:mainfrom
inbox-zero:merge-upstream-main
Open

Add Microsoft Graph mail, calendar, and drive emulation#28
elie222 wants to merge 27 commits intovercel-labs:mainfrom
inbox-zero:merge-upstream-main

Conversation

@elie222
Copy link
Copy Markdown
Contributor

@elie222 elie222 commented Mar 26, 2026

This branch merges upstream/main into our fork and brings in the package namespace migration from @internal/* to @emulators/*, including the new package manifests, tsup configs, and lockfile/workspace updates. It also refactors the emulate CLI around a shared service registry while keeping the richer Inbox Zero package identity and Microsoft starter seed defaults. The merged service changes add the expanded Microsoft Graph mail, calendar, drive, attachments, categories, rules, and subscriptions support along with the related tests and docs updates. The branch diff also includes the small docs site/search/theme changes already present in this workspace, and I verified the merge by running pnpm --filter @inbox-zero/emulate... build plus the @emulators/microsoft and @inbox-zero/emulate test suites.

elie222 and others added 18 commits March 24, 2026 12:44
* Add Gmail drafts history and settings APIs

* Simplify draft routes and fix efficiency issues in Gmail emulation

Extract shared parseMessageInputFromBody helper to deduplicate field
mapping in draft create/update handlers. Fix N+1 lookups in
listDraftsForUser by caching message lookups upfront. Optimize
hasMessageAttachments to use early-exit instead of loading all
attachments. Remove redundant dedupeLabelIds call in filter application.
Extract HISTORY_CHANGE_TYPES constant to eliminate stringly-typed
validation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Clean up Gmail route parsing

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge upstream and prep 0.3.0 release
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 26, 2026

@elie222 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 26, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedvitest@​4.1.0 ⏵ 4.1.196 +110079 +199 +1100
Addedyaml@​2.8.39910010090100
Updatedhono@​4.12.8 ⏵ 4.12.999 +110097 +195100

View full report

Copy link
Copy Markdown
Collaborator

@ctate ctate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the Microsoft Graph work — impressive scope with solid test coverage, and everything passes cleanly (build, lint, 17 test tasks).

Two blockers:

  1. Package rename from emulate@inbox-zero/emulate and the repo URL changes need to be reverted to keep the upstream identity.
  2. @internal/* packages reference a nonexistent @internal/core and aren't imported anywhere — should be removed.

Happy to re-review once those are addressed!

@elie222 elie222 changed the title Merge upstream emulators and Microsoft Graph Add Microsoft Graph mail, calendar, and drive emulation Mar 27, 2026
@elie222
Copy link
Copy Markdown
Contributor Author

elie222 commented Mar 31, 2026

Thanks for the Microsoft Graph work — impressive scope with solid test coverage, and everything passes cleanly (build, lint, 17 test tasks).

Two blockers:

  1. Package rename from emulate@inbox-zero/emulate and the repo URL changes need to be reverted to keep the upstream identity.
  2. @internal/* packages reference a nonexistent @internal/core and aren't imported anywhere — should be removed.

Happy to re-review once those are addressed!

Fixed those!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants