Re: [Jmap] Adding the Message::isForwarded property
"Adrien de Croy" <adrien@qbik.com> Wed, 19 April 2017 06:20 UTC
Return-Path: <adrien@qbik.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 709D8131508 for <jmap@ietfa.amsl.com>; Tue, 18 Apr 2017 23:20:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 apnTp2FiObrR for <jmap@ietfa.amsl.com>; Tue, 18 Apr 2017 23:20:21 -0700 (PDT)
Received: from smtp.qbik.com (smtp.qbik.com [122.56.26.1]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F94C129B16 for <jmap@ietf.org>; Tue, 18 Apr 2017 23:20:20 -0700 (PDT)
Received: From [192.168.1.146] (unverified [192.168.1.146]) by SMTP Server [192.168.1.3] (WinGate SMTP Receiver v9.0.5 (Build 5926)) with SMTP id <0001022992@smtp.qbik.com>; Wed, 19 Apr 2017 18:20:16 +1200
From: Adrien de Croy <adrien@qbik.com>
To: Neil Jenkins <neilj@fastmail.com>, "jmap@ietf.org" <jmap@ietf.org>
Date: Wed, 19 Apr 2017 06:20:17 +0000
Message-Id: <em0221408d-35e4-4706-b2b7-246c06e3b592@bodybag>
In-Reply-To: <1492581452.3025596.948906456.71780673@webmail.messagingengine.com>
References: <148716911729.17277.15371202023742081890.idtracker@ietfa.amsl.com> <b7ec34d3-3aaf-82af-3663-5b0966c83ff0@dcrocker.net> <b5753f7f-92f9-50dd-42f0-ce0de7360e08@linagora.com> <A9EDBE7D-4E3D-45C2-BB97-F74AC9DB9486@oracle.com> <9eb1fd3c-8868-9d24-6c30-46d333b69fef@isode.com> <3c1711a2-46dd-db1c-506e-5e1ad89ce56d@linagora.com> <92769755-62c6-7257-ce3d-7d0b5699735d@isode.com> <27c62cc8-68e0-49b5-4900-34c26d7b4c6a@linagora.com> <C88A669A-2143-4FC2-81EF-3C9A2CD5963B@apple.com> <D0072AC9-71DC-4831-A3DA-FEA4A7B85BBA@oracle.com> <AB5279CE-4F9A-4DE8-AEEA-E1425D04FA89@att.com> <1492581452.3025596.948906456.71780673@webmail.messagingengine.com>
Reply-To: Adrien de Croy <adrien@qbik.com>
User-Agent: eM_Client/7.0.27943.0
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="------=_MB0104ADDE-63A1-42AE-9B90-9778AC670801"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/H_ayS8ZvfsGjVsuV2ZlgbemmXzk>
Subject: Re: [Jmap] Adding the Message::isForwarded property
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Apr 2017 06:20:26 -0000
Hi one thing that has bugged me for a long time about IMAP is its basic verbosity. We protocol log IMAP here, and the IMAP logs are a lot bigger than any others even though a lot less work is done. Even trimming the completely redundant \ from the start of a flag keyword would save a bunch of space and transfer bandwidth. Are we going to make any effort to make the JMAP more efficient or will it be equally or even more bloated? Will there be a requirement for compression support? I don't know why we would stick with the same keywords for the flags as IMAP uses. I wonder if any IMAP implementors are storing these flags in textual format anyway. We certainly aren't. Regards Adrien ------ Original Message ------ From: "Neil Jenkins" <neilj@fastmail.com> To: "jmap@ietf.org" <jmap@ietf.org> Sent: 19/04/2017 5:57:32 PM Subject: Re: [Jmap] Adding the Message::isForwarded property >The initial JMAP design was only interested in the system flags, so >having the separate properties made sense. But given we want to add >full support for custom IMAP flags (and reuse the IANA registry), I >think having the system ones in a different format is going to end up >causing pain down the line. We could make properties for the keywords >currently in the IANA registry, but this would clearly cause headaches >as more are standardised down the line. So I agree we should change to >just a single "keywords" property, and reuse the keyword names from >IMAP. > >This means we would remove the "isUnread", "isFlagged", "isAnswered" >and "isDraft" properties from the Message object and introduce a single >"keywords" property (with respectively "\Seen" (flipped meaning), >"\Flagged", "\Answered" and "\Draft" keywords, as per IMAP). > >The main downside is I think is this is slightly less accessible for >newcomers who haven't been exposed to IMAP, but this is probably >outweighed by the benefits already discussed. > >Do we have consensus on this? The last few messages all seem to be in >favour of making this change. If so, I'm happy to update the spec and >call this issue closed. > >In terms of representation, do we agree on an Object type, with the >keywords as the keys (and a boolean `true` as the value (as discussed >in a previous email in this thread)? > >Neil.
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jhaveri
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jenkins
- Re: [Jmap] Adding the Message::isForwarded proper… Chris Newman
- Re: [Jmap] Adding the Message::isForwarded proper… HANSEN, TONY L
- Re: [Jmap] Adding the Message::isForwarded proper… Alexey Melnikov
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jenkins
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jenkins
- Re: [Jmap] Adding the Message::isForwarded proper… Adrien de Croy
- [Jmap] Spencer Dawkins' No Objection on charter-i… Spencer Dawkins
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jhaveri
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jenkins
- [Jmap] message vs. annotation Dave Crocker
- [Jmap] Adding the Message::isForwarded property Benoit Tellier
- Re: [Jmap] Adding the Message::isForwarded proper… Benoit Tellier
- Re: [Jmap] Adding the Message::isForwarded proper… Chris Newman
- Re: [Jmap] Adding the Message::isForwarded proper… Alexey Melnikov
- Re: [Jmap] Adding the Message::isForwarded proper… Benoit Tellier
- Re: [Jmap] Adding the Message::isForwarded proper… Alexey Melnikov
- Re: [Jmap] Adding the Message::isForwarded proper… Benoit Tellier
- Re: [Jmap] Adding the Message::isForwarded proper… Chris Newman
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jenkins
- Re: [Jmap] message vs. annotation Neil Jenkins
- Re: [Jmap] message vs. annotation Ted Lemon
- Re: [Jmap] Adding the Message::isForwarded proper… Alexey Melnikov
- Re: [Jmap] Adding the Message::isForwarded proper… Adrien de Croy
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jenkins
- Re: [Jmap] Adding the Message::isForwarded proper… Benoit Tellier
- Re: [Jmap] Adding the Message::isForwarded proper… Chris Newman
- Re: [Jmap] Adding the Message::isForwarded proper… HANSEN, TONY L
- Re: [Jmap] Adding the Message::isForwarded proper… Bron Gondwana
- Re: [Jmap] Adding the Message::isForwarded proper… Neil Jenkins
- Re: [Jmap] Adding the Message::isForwarded proper… Alexey Melnikov