[art] Fwd: WG Review: JSON Mail Access Protocol (jmap)

Alexey Melnikov <alexey.melnikov@isode.com> Mon, 06 February 2017 11:03 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43EA2129CCF for <art@ietfa.amsl.com>; Mon, 6 Feb 2017 03:03:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WjvB-FOy4j9W for <art@ietfa.amsl.com>; Mon, 6 Feb 2017 03:03:52 -0800 (PST)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id 6176812953E for <art@ietf.org>; Mon, 6 Feb 2017 03:03:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1486379031; d=isode.com; s=june2016; i=@isode.com; bh=AnyEc5RmymPr7XVONokWVNUhehCpmedvB4McM5KlEFw=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=nJlZxwpYJp5HB9hBWl7r/lx88DGws2XLNieTEeKlycoyLHrFQGZwjZZwGOlcCsSqFnFI7U anz0+DOpWafx+om49GN4NXiMCmaHhSLQbmORqMAO6q8IdMWrUqz2fPLka9Bz57HsRARVJK jrEMo6aqq/ng6xtpMg8V8SiHj+ia4wE=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <WJhYFwA6wyqQ@waldorf.isode.com>; Mon, 6 Feb 2017 11:03:51 +0000
References: <148616796247.4079.7104562493351135409.idtracker@ietfa.amsl.com>
To: art@ietf.org
From: Alexey Melnikov <alexey.melnikov@isode.com>
X-Forwarded-Message-Id: <148616796247.4079.7104562493351135409.idtracker@ietfa.amsl.com>
Message-ID: <79a5db6b-b952-1d1b-8513-d9f250fffe98@isode.com>
Date: Mon, 06 Feb 2017 11:03:50 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
In-Reply-To: <148616796247.4079.7104562493351135409.idtracker@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------E276EF2C1C5FBFDDE3D9BA71"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/pM3LKsu9G_5_ZSJHzdhxiuDF6us>
Subject: [art] Fwd: WG Review: JSON Mail Access Protocol (jmap)
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Feb 2017 11:03:54 -0000

I believe the charter text addressed comments raised on this mailing 
list, as well as on ietf-smtp and imapext.

-------- Forwarded Message --------
Subject: 	WG Review: JSON Mail Access Protocol (jmap)
Date: 	Fri, 03 Feb 2017 16:26:02 -0800
From: 	The IESG <iesg-secretary@ietf.org>
Reply-To: 	ietf@ietf.org
To: 	IETF-Announce <ietf-announce@ietf.org>
CC: 	jmap@ietf.org



A new IETF WG has been proposed in the Applications and Real-Time Area.
The IESG has not made any determination yet. The following draft charter
was submitted, and is provided for informational purposes only. Please
send your comments to the IESG mailing list (iesg@ietf.org) by
2017-02-13.

JSON Mail Access Protocol (jmap)
-----------------------------------------------------------------------
Current status: Proposed WG

Chairs:
   TBD

Assigned Area Director:
   Alexey Melnikov <aamelnikov@fastmail.fm>

Applications and Real-Time Area Directors:
   Ben Campbell <ben@nostrum.com>
   Alissa Cooper <alissa@cooperw.in>
   Alexey Melnikov <aamelnikov@fastmail.fm>
  
Mailing list:
   Address: jmap@ietf.org
   To subscribe: https://www.ietf.org/mailman/listinfo/jmap
   Archive: https://mailarchive.ietf.org/arch/search/?email_list=jmap

Group page: https://datatracker.ietf.org/group/jmap/

Charter: https://datatracker.ietf.org/doc/charter-ietf-jmap/

A number of JSON-based representations of email have been developed
that are proprietary, non-standard, and incompatible with each other.
These protocols are proliferating due
to existing standards being insufficient or poorly suited to the
environments they are operating in, particularly mobile and webmail.

The use of multiple protocols
to perform actions within a single application creates significant
support challenges, as users may get a variety of partial failure modes
(for example, can receive email, but can not send new messages).
This is further exacerbated if the different protocols are
authenticated separately.

The JMAP working group will specify a mechanism to allow clients to
both view and send email from a server over a single stateless HTTPS
channel with minimal round trips. A single protocol for receipt and
submission will resolve long-standing difficulties users face
setting up clients to talk to servers.

The protocol will support
push notification of changes using the mechanism defined in RFC 8030.
This will give mobile clients benefits in terms of battery life and
network usage. It will also support push notifications via server-sent
events (https://www.w3.org/TR/eventsource/) for direct connection to
clients that can support persistent TCP connections.

The work of this group is limited to developing a protocol for a client
synchronising data with a server. Any server-to-server issues
are out of scope for this working group.
New end-to-end encryption mechanisms are out of scope, but the work
should
consider how to integrate with existing standards such as S/MIME and
OpenPGP.

The working group will coordinate with the Security Area on credential
management and authentication.

Input to working group discussions shall include:

- CONDSTORE and QRESYNC
[RFC 7162]

- Collection Synchronisation for WebDav
[RFC 6578]

- LEMONADE and experiences from adoption of its output
[https://datatracker.ietf.org/wg/lemonade/charter/]

- SMTP SUBMISSION
[RFC 6409]

- SMTP BURL
[RFC 4468]

The working group will deliver the following:

- A problem statement detailing the deployment environment and
   situations that motivate work on a new protocol for client to
   server email synchronisation.  The working group may choose
   not to publish this as an RFC.

- A document describing an extensible protocol and data structures, with
   support for flood control and batched operations, and operating over
   a stateless connection such as HTTPS.

- A document describing how to use the extensible protocol over HTTPS
   with the data structures expressed as JSON.

- A document describing a data model for email viewing, management,
   searching, and submission on top of the extensible protocol.

- An executable test suite and documented test cases to assist
   developers of JMAP servers to ensure they conform to the
   specifications.

Milestones: