Add Identity service implementation (RFC 8621 Section 6)#20
Merged
Conversation
…ges) Implement RFC 8621 Section 6 Identity methods with schema validation, service layer, and Promise-based wrapper, enabling downstream consumers to use client.identity instead of low-level client.batch calls. https://claude.ai/code/session_01EHPdDuJwHEyaghPQ4KwBYE
JMAP Spec Coverage
Overall: 18/31 methods (58.1%) Blob (0/4)
Core (0/1)
Email (6/8)
EmailSubmission (5/5)
Identity (3/3)
Mailbox (4/5)
SearchSnippet (0/1)
Thread (0/2)
VacationResponse (0/2)
|
Preview Package PublishedPublished from commit e2cf253 |
effect-jmap-release bot
pushed a commit
that referenced
this pull request
Feb 11, 2026
# [0.10.0](v0.9.0...v0.10.0) (2026-02-11) ### Features * Add Identity service (Identity/get, Identity/set, Identity/changes) ([#20](#20)) ([8fe2ca5](8fe2ca5))
|
🎉 This PR is included in version 0.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the JMAP Identity service according to RFC 8621 Section 6, enabling clients to manage email identities (sender addresses, signatures, reply-to addresses, etc.).
Key Changes
New Identity Schema (
src/identity/schema.ts): Comprehensive schema definitions for all Identity operations including:IdentityObject: Core identity data structure with email, name, signatures, reply-to, and bcc fieldsIdentityMutable: Creatable/updatable identity propertiesIdentity/get,Identity/set, andIdentity/changesmethodsNew Identity Service (
src/identity/service.ts): Effect-based service implementation providing:get(): Retrieve identities by IDset(): Create, update, or destroy identitieschanges(): Track identity changes since a stategetAll(): Convenience method to fetch all identities for an accountgetDefault(): Convenience method to get the first/default identityClient Integration (
src/client/wrapper.ts): AddedIdentityNamespaceto the promise-based wrapper with all service methods exposed as async functionsLayer Configuration (
src/layers.ts): IntegratedIdentityServiceLiveinto the dependency injection layerPublic API (
src/identity/index.ts,src/index.ts): Exported all Identity types and service interfacesTest Configuration (
tests/config/capabilities.ts): Enabled Identity capability flags for testingImplementation Details
https://claude.ai/code/session_01EHPdDuJwHEyaghPQ4KwBYE