IETF JMAP Mail Sharing draft tightens who can grant mailbox access
News
Published 24 Nov 2026
Updated 24 Nov 2026
6 min read
Summarize with

The JMAP Mail Sharing draft would stop a user with sharing authority from newly granting a mailbox right that neither the user nor the target Principal already holds. The IETF Datatracker recorded revision 03 on November 24, 2026 at 11:01 UTC. The update also adds a target-specific sharing check and strengthens the requirement to keep inaccessible Principal IDs indistinguishable from nonexistent IDs.
For JMAP client and server implementers, the important detail is the difference between adding a right and retaining one. A target's existing right does not have to be held by the sharer merely to remain in place. The document is an active JMAP working-group Internet-Draft.
Proposal status
Revision 03 remains a proposal, not a final standard or production guidance. It creates no current provider or sender requirement.
New grants depend on rights already held
Section 2 still requires the acting user to have mayShare before changing a mailbox's shareWith property. Revision 03 adds a separate limit: for each requested right, the server must consider whether the target already has it and whether the acting user has it. A newly requested right held by neither would require rejection with a forbidden SetError.
Revision 02 already restricted who could modify shareWith. The new text restricts the rights that an authorized sharer can add. I read that distinction as the central implementation change: permission to edit a sharing configuration does not authorize every possible grant.
|
|
|
|---|---|---|
No | No | Grant forbidden |
Yes | No | Grant not blocked |
No | Yes | Retention not blocked |
Yes | Yes | Retention not blocked |
Illustrative per-right check, assuming sharing authority and other access checks. Passing this check alone does not authorize the operation.
Consider an illustrative mailbox where Dana has mayShare but lacks mayReadItems. If Lee also lacks mayReadItems, Dana cannot add that right for Lee under the proposed rule. The fact that Dana can manage sharing does not change that result.
If Lee already has mayReadItems, Dana's lack of that right does not, by itself, prevent retaining it while editing other permissions. This exception prevents an overbroad interpretation that would require every target's existing rights to be a subset of the sharer's rights. Other access checks still apply.
A target check through mayShareWith
Revision 03 adds a mayShareWith Boolean inside a Principal capability named urn:ietf:params:jmap:mail:share. Its value describes whether the acting user is permitted to share with that particular target. When false, an attempt to give that Principal mailbox rights would require a forbidden SetError.
The two similarly named properties answer different questions. mayShare concerns the user's authority over the mailbox. mayShareWith concerns permission to use a particular Principal as a share target. Neither replaces the new restriction on newly granted rights.
Illustrative Principal capability fragment, not a complete responsejson
{ "capabilities": { "urn:ietf:params:jmap:mail:share": { "mayShareWith": false } } }
For a client evaluating this draft, a visible Principal is therefore not automatically an eligible recipient of mailbox access. A sharing interface needs to distinguish discovering a target from being permitted to share with it.
The server remains responsible for enforcing the decision. Hiding an unavailable action in a client is useful interface behavior, but it does not replace validation of the submitted change. A true mayShareWith value also does not establish that every requested mailbox right is grantable. The Boolean describes permission for the acting user, rather than stating that the Principal is shareable by every user.
Hidden Principal IDs need indistinguishable responses
The revised security text makes a stronger requirement for a different situation: a user supplies the ID of a Principal they are not permitted to access. The response must not let that user distinguish the inaccessible Principal from a Principal ID that does not exist.
Revision 02 had broader guidance about avoiding disclosure when sharing with a restricted Principal. Revision 03 expressly requires indistinguishability for inaccessible IDs and separates that situation from a visible Principal whose mayShareWith value is false.
Visible but disallowed
The user can access the Principal, but mayShareWith is false. An attempted grant is rejected with a forbidden SetError.
Inaccessible or nonexistent
The response must not reveal which condition applies. The draft does not prescribe a specific error for these two cases.
That distinction matters for test assertions. Checking only that both requests fail is insufficient if their returned details reveal which ID exists. I would compare the externally visible responses, including descriptions and any structured details that disclose the difference.
This is an implementation review point, not an additional error-code rule. Section 3.4 specifies the required privacy outcome without naming the error that must be used for the inaccessible and nonexistent pair. It would be inaccurate to report that every unknown or hidden target must return forbidden.
Mailbox ownership does not imply every right
Revision 03 also removes revision 02's assumption that the owner always has implicit full rights. Ownership still gives implicit rights, but the set is not necessarily complete. The draft gives deletion of a system mailbox such as the Inbox as an example of a right a server can withhold.
That example concerns mayDelete on the mailbox, rather than a blanket statement about deleting individual messages. Ownership remains nontransferable through sharing, and the owner must stay outside the shareWith map. For an implementer, the practical implication is to avoid treating owner status as an automatic true value for every permission.
Review the draft in a test environment
For hosted and self-managed mail operators evaluating delegated access, a useful review starts with controlled mailbox and Principal fixtures. Record the acting user's rights and the target's existing rights before each attempted change. Otherwise, a successful update alone does not explain which condition permitted it.
The following checks are an illustrative evaluation plan for the proposal. They are not instructions to change production permissions or evidence that a deployed server implements revision 03.
- Sharing authority. Try modifying shareWith with and without mayShare on the mailbox. Confirm that the target's eligibility does not substitute for the actor's authority.
- New rights. Request a right absent from both users, then repeat with that right held by the sharer. Keep other conditions fixed when comparing results.
- Existing rights. Retain a target's existing right while the sharer lacks it. Check that the new grant restriction does not itself reject that retention.
- Target visibility. Compare an accessible but disallowed target with separate inaccessible and nonexistent IDs. Expect forbidden for the first case and indistinguishable responses for the latter pair.
For a store exposed through both JMAP and IMAP, review the rights mapping too. The draft retains earlier language requiring consistent permissions across the interfaces, including the relationship between mayShare and the IMAP ACL administration right. That is existing context, rather than a new revision 03 addition.
Client testing should also cover editing a target's permissions without silently dropping rights the acting user lacks. Treating all such rights as invalid would lose the retention distinction. Server tests should exercise the submitted permission change independently of what the interface displays.
The proposal concerns mailbox access, not sender authentication
The extension would update JMAP Mail in RFC 8621 only if approved. It builds on the JMAP Sharing framework in RFC 9670, which supplies the sharing model and Principal concepts. The revision concerns permission decisions when sharing a mailbox.
It introduces no change to SMTP, SPF, DKIM or DMARC and no new compliance deadline. Results from email testing concern a different layer of email operation. They do not establish whether a mailbox sharing change was authorized.
Likewise, domain health checks do not validate the relationship between an acting user, a target Principal and a mailbox's rights. Evaluating this proposal requires observing those access-control decisions in the relevant JMAP environment.
Keep new grants and retained rights separate
For a revision 03 evaluation, I would make the existing-rights case an explicit regression test. A test that covers only adding a new target misses the exception that makes the proposed restriction precise.
Record the result for each requested right alongside the actor's sharing authority and the target's eligibility. Keep inaccessible-ID response comparisons separate. Those records give implementers concrete findings to review against the draft while it remains a proposal.
Frequently asked questions
Yes. It remains necessary to modify shareWith. Revision 03 adds a restriction on newly granted rights and a separate target eligibility check; having mayShare alone does not satisfy every condition.
No. If the target already holds a right, the new restriction does not require the sharer to hold it merely to retain it. Other authorization checks still apply.
The draft does not prescribe that error for those two cases. It requires responses that do not reveal which case applies. A visible target with mayShareWith set to false is a different case and requires forbidden for an attempted grant.
No. It is an active Internet-Draft about JMAP mailbox sharing. It does not establish a provider rollout, sender compliance deadline, or change to SMTP authentication. Its proposed update to RFC 8621 depends on approval.

