{"id":"@lssm-tech/example.email-gmail","slug":"example.email-gmail","name":"@lssm-tech/example.email-gmail","version":"5.0.4","path":"examples/email-gmail","manifestPath":"examples/email-gmail/package.json","manifestBlobSha":"8881e2c2a0f3a8e54201ef2cb9bb7e140e84a67b","layer":"examples","physicalArea":null,"primaryArea":"examples-and-patterns","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"example","catalogStatus":"active","adoptionMode":"reference-only","stability":"stable"},"description":"Gmail integration example: inbound threads and outbound messages.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"example","status":"active","adoptionMode":"reference-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./auth","./docs","./docs/email-gmail.docblock","./email-gmail.feature","./example","./inbound","./outbound","./run"],"documentation":[{"title":"Example Email Gmail documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.email-gmail","kind":"readme"}],"examples":[],"replacements":[],"nonAdoptableRationale":"This example is published for reference and learning, not as a reusable library dependency."},"canonicalImports":[],"scripts":{"publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","dev":"contractspec-bun-build dev","clean":"rimraf dist .turbo","lint":"bun lint:fix","lint:fix":"node ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .","lint:check":"node ../../scripts/biome.cjs check .","test":"bun test --pass-with-no-tests","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/integration.provider-email":"workspace:^","@lssm-tech/lib.contracts-spec":"workspace:^","googleapis":"catalog:integrations"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:","@lssm-tech/tool.bun":"workspace:*"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./auth":"./src/auth.ts","./docs":"./src/docs/index.ts","./docs/email-gmail.docblock":"./src/docs/index.ts","./email-gmail.feature":"./src/email-gmail.feature.ts","./example":"./src/example.ts","./inbound":"./src/inbound.ts","./outbound":"./src/outbound.ts","./run":"./src/run.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser/index.js","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./auth":{"types":"./dist/auth.d.ts","browser":"./dist/browser/auth.js","bun":"./dist/auth.js","node":"./dist/node/auth.js","default":"./dist/auth.js"},"./docs":{"types":"./dist/docs/index.d.ts","browser":"./dist/browser/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/node/docs/index.js","default":"./dist/docs/index.js"},"./docs/email-gmail.docblock":{"types":"./dist/docs/index.d.ts","browser":"./dist/browser/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/node/docs/index.js","default":"./dist/docs/index.js"},"./email-gmail.feature":{"types":"./dist/email-gmail.feature.d.ts","browser":"./dist/browser/email-gmail.feature.js","bun":"./dist/email-gmail.feature.js","node":"./dist/node/email-gmail.feature.js","default":"./dist/email-gmail.feature.js"},"./example":{"types":"./dist/example.d.ts","browser":"./dist/browser/example.js","bun":"./dist/example.js","node":"./dist/node/example.js","default":"./dist/example.js"},"./inbound":{"types":"./dist/inbound.d.ts","browser":"./dist/browser/inbound.js","bun":"./dist/inbound.js","node":"./dist/node/inbound.js","default":"./dist/inbound.js"},"./outbound":{"types":"./dist/outbound.d.ts","browser":"./dist/browser/outbound.js","bun":"./dist/outbound.js","node":"./dist/node/outbound.js","default":"./dist/outbound.js"},"./run":{"types":"./dist/run.d.ts","browser":"./dist/browser/run.js","bun":"./dist/run.js","node":"./dist/node/run.js","default":"./dist/run.js"}},"types":"./dist/index.d.ts","files":["LICENSE","README.md","dist","!**/*.test.*","!**/*.spec.*","!**/*.tsbuildinfo"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/example.email-gmail","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"examples/email-gmail/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./auth","importPath":"@lssm-tech/example.email-gmail/auth","target":"./src/auth.ts","targets":[{"conditions":[],"target":"./src/auth.ts","sourcePath":"examples/email-gmail/src/auth.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/auth.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs","importPath":"@lssm-tech/example.email-gmail/docs","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/email-gmail/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs/email-gmail.docblock","importPath":"@lssm-tech/example.email-gmail/docs/email-gmail.docblock","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/email-gmail/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./email-gmail.feature","importPath":"@lssm-tech/example.email-gmail/email-gmail.feature","target":"./src/email-gmail.feature.ts","targets":[{"conditions":[],"target":"./src/email-gmail.feature.ts","sourcePath":"examples/email-gmail/src/email-gmail.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/email-gmail.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./example","importPath":"@lssm-tech/example.email-gmail/example","target":"./src/example.ts","targets":[{"conditions":[],"target":"./src/example.ts","sourcePath":"examples/email-gmail/src/example.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/example.ts","sourceStatus":"verified source file"}]},{"subpath":"./inbound","importPath":"@lssm-tech/example.email-gmail/inbound","target":"./src/inbound.ts","targets":[{"conditions":[],"target":"./src/inbound.ts","sourcePath":"examples/email-gmail/src/inbound.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/inbound.ts","sourceStatus":"verified source file"}]},{"subpath":"./outbound","importPath":"@lssm-tech/example.email-gmail/outbound","target":"./src/outbound.ts","targets":[{"conditions":[],"target":"./src/outbound.ts","sourcePath":"examples/email-gmail/src/outbound.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/outbound.ts","sourceStatus":"verified source file"}]},{"subpath":"./run","importPath":"@lssm-tech/example.email-gmail/run","target":"./src/run.ts","targets":[{"conditions":[],"target":"./src/run.ts","sourcePath":"examples/email-gmail/src/run.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/src/run.ts","sourceStatus":"verified source file"}]}],"entryCount":9,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Example Email Gmail documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.email-gmail","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.email-gmail.txt"},"readme":{"status":"available","body":"# @lssm-tech/example.email-gmail\n\nWebsite: https://contractspec.io\n\n**Gmail integration example: inbound threads and outbound messages.**\n\n## What This Demonstrates\n\n- OAuth authentication flow for Gmail API.\n- Inbound email thread processing.\n- Outbound message composition and sending.\n- Integration provider pattern with ContractSpec contracts.\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/docs/` contains docblocks and documentation-facing exports.\n\n## Running Locally\n\nFrom `examples/email-gmail`:\n- `bun run dev`\n- `bun run build`\n- `bun run test`\n- `bun run typecheck`\n\n## Usage\n\nUse `@lssm-tech/example.email-gmail` as a reference implementation, or import its exported surfaces into a workspace that composes ContractSpec examples and bundles.\n\n## Architecture\n\n- `src/auth.ts` is part of the package's public or composition surface.\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/email-gmail.feature.ts` defines a feature entrypoint.\n- `src/example.ts` is the runnable example entrypoint.\n- `src/inbound.ts` is part of the package's public or composition surface.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/outbound.ts` is part of the package's public or composition surface.\n\n## Public Entry Points\n\n- Export `.` resolves through `./src/index.ts`.\n- Export `./auth` resolves through `./src/auth.ts`.\n- Export `./docs` resolves through `./src/docs/index.ts`.\n- Export `./docs/email-gmail.docblock` is an alias of `./docs` and resolves through `./src/docs/index.ts`.\n- Export `./email-gmail.feature` resolves through `./src/email-gmail.feature.ts`.\n- Export `./example` resolves through `./src/example.ts`.\n- Export `./inbound` resolves through `./src/inbound.ts`.\n- Export `./outbound` resolves through `./src/outbound.ts`.\n- Export `./run` resolves through `./src/run.ts`.\n\n## Local Commands\n\n- `bun run dev` — contractspec-bun-build dev\n- `bun run build` — contractspec-bun-build build\n- `bun run test` — bun test --pass-with-no-tests\n- `bun run lint` — bun lint:fix\n- `bun run lint:check` — biome check .\n- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .\n- `bun run typecheck` — tsgo --noEmit\n- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose\n- `bun run publish:pkg:canary` — bun publish:pkg --tag canary\n- `bun run clean` — rimraf dist .turbo\n- `bun run build:bundle` — contractspec-bun-build transpile\n- `bun run build:types` — contractspec-bun-build types\n- `bun run prebuild` — contractspec-bun-build prebuild\n\n## Recent Updates\n\n- Replace eslint+prettier by biomejs to optimize speed.\n- Missing contract layers.\n\n## Notes\n\n- Works alongside `@lssm-tech/integration.provider-email`, `@lssm-tech/lib.contracts-spec`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n","sourcePath":"examples/email-gmail/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/email-gmail/README.md","blobSha":"11358e09bd17d714bbff14a88e71a0fa25d5bb38","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"examples-and-patterns","areaTitle":"Examples and implementation patterns","displayName":"example.email-gmail","runtimes":["node"],"platforms":["server"],"kind":"example","scope":"Package manifest","canonicalRoute":"/docs/packages/example.email-gmail/","contextUrl":"/docs/packages/example.email-gmail.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}