Re: [Jmap] WG Review: JSON Mail Access Protocol (jmap) - reducing configuration complexity

Ted Lemon <mellon@fugue.com> Wed, 08 February 2017 15:52 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 762D0129BF8 for <ietf@ietfa.amsl.com>; Wed, 8 Feb 2017 07:52:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.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 V8P9lWGsaBqA for <ietf@ietfa.amsl.com>; Wed, 8 Feb 2017 07:52:48 -0800 (PST)
Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 49054129BC8 for <ietf@ietf.org>; Wed, 8 Feb 2017 07:52:48 -0800 (PST)
Received: by mail-qt0-x22b.google.com with SMTP id k15so169289883qtg.3 for <ietf@ietf.org>; Wed, 08 Feb 2017 07:52:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=z1m5EOclSmibcd7g+cl87DhdXOZ7GOFKiabw6NyhULg=; b=JFXm4CR4kHbGWJ8Qp9ERxuwjOvLyhxIHY5JO9tMiEhEsyGQj+XTcDtdP4omDxwKlO2 InDxtl2lU5/PIpkbK0FPbifDyz52mEqFbR6KfSMu5ikNU4+pa61LGGVixK//HN4wgnFh XIOLAudmx9zJ/LurY1fK0hJtVOEIu/PZsuo9+J8lIbKb2CGp36hZ/jMCioROGgmsq/jW Vg7f4meSRSpv1QQU9BnngU5f6oNR2SpQZd4vfCleqTzItdizdp7JakCbdZaT3e03MGNk klg79OxffGNkUfr0CHk3cszCtFWcBKseHR1lfGW3pSsChD2K0qTP1DX5vv0SAhjwxaC+ dYoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=z1m5EOclSmibcd7g+cl87DhdXOZ7GOFKiabw6NyhULg=; b=cKAF1If7niZd615HVfsnbQo01teUctHOJ7KfiTyU7QlKTaLVBJ6z+14TI7HFZdX/XD jZ3uomUDjT61P/mnPYkd6CRR7OPHPPmRTK2tqFxaK082gTGKV4r+UfKMUyaCBl3D1nqz n6dq0Kq7suZYH12Xv6E5h6md9I8kzKEAWLT5QrOWOd5xi8ohswR4IUnfqi9WvDVnTs2L pgFAfeLWn5o1ucems+MxSNCFL6ayXVCGLAPmz8/CXMZ/mFrM9kncRpdrXx7+zZ0IpciP T+YvmEEWrk+HegaVBZPFhH2IMU8lVJXSKUoSYmQ2IiliytjPXVXOJ6+ejF0wvEKt/5SU mfIg==
X-Gm-Message-State: AMke39m6/lFTCCh3A/3qcNBuk3UloPlX2R6dwfHAcKdy2wdTQXS16CaBUVF4F18AVKWfVQ==
X-Received: by 10.237.38.65 with SMTP id z59mr20099565qtc.5.1486569167387; Wed, 08 Feb 2017 07:52:47 -0800 (PST)
Received: from [192.168.1.228] (c-73-167-64-188.hsd1.nh.comcast.net. [73.167.64.188]) by smtp.gmail.com with ESMTPSA id s20sm6451027qtc.39.2017.02.08.07.52.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Feb 2017 07:52:46 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Subject: Re: [Jmap] WG Review: JSON Mail Access Protocol (jmap) - reducing configuration complexity
From: Ted Lemon <mellon@fugue.com>
In-Reply-To: <D983A02B-B530-454D-A8A6-9D9CF432D31E@gmail.com>
Date: Wed, 08 Feb 2017 10:52:44 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <A86D15F6-59C1-4AE3-BA56-2747DD7345CC@fugue.com>
References: <CAMQk0F-6CFLHKvTxSaPV20Lp-hVOSSk_WrHOGq6-LOUO8aDNww@mail.gmail.com> <m2poitydi9.wl-randy@psg.com> <9D66E5E7619E1C55F1DEB959@PSB> <1A1381DB-DF79-4FC8-88F4-60A0AF4FE3CA@cursive.net> <b482dda6-2db9-a64b-e31c-f1c07ab92269@dcrocker.net> <1486523704.3711423.873904592.78C4EAA8@webmail.messagingengine.com> <D983A02B-B530-454D-A8A6-9D9CF432D31E@gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
X-Mailer: Apple Mail (2.3259)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/JSkj5s0rn2w6PQU-zL-2hmrhg4c>
Cc: jmap@ietf.org, Neil Jenkins <neilj@fastmail.com>, IESG <iesg@ietf.org>, IETF discussion list <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Feb 2017 15:52:49 -0000

On Feb 8, 2017, at 2:26 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> That’s good to know. I’m wondering if implementing a generic email client (rather than a specific “gmail” or “live” client) isn’t becoming ever harder. With so many older and newer services, a client has to support pop3, imap, smtp, EWS, ActiveSync, and maybe a few of the others you mentioned. This effort proposes to add yet another one.

The protocol and database backend parts of implementing a mail client are only difficult in the sense that ActiveSync is not a standard.   IMAP, SMTP and POP protocol implementations are readily available.   The problem is not that they are hard to implement.   It's that they don't work very well.   SMTP works great, don't get me wrong, but IMAP and POP both use the wrong data abstraction, and consequently are very hard to get right, and generally aren't gotten right.

So a new protocol that has the data abstraction right is actually a substantial improvement.   I don't know if that's the case with JMAP—if it's the same data abstraction as IMAP, it's not worth bothering with, but that's something that at least in theory can be discussed.

What JMAP does afford is the opportunity to have an embedded web client that doesn't suck, and a way to escape it if you want something more stateful.   Doing IMAP in a web browser is painful.   I've seen it done.   It wasn't pretty, and the company that did it corkscrewed in and left a crater.   So practically speaking, if you want to do email that way, you are already implementing something like JMAP, but you are doing it by yourself, and it's not standard, so your customers are stuck with what you did.

Even if the data abstraction is wrong in JMAP, you still get a substantial win from that one improvement.