Re: [Jmap] new JMAP server for prototyping

Seph Gentle <me@josephg.com> Thu, 27 May 2021 00:19 UTC

Return-Path: <me@josephg.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 6BF333A1787 for <jmap@ietfa.amsl.com>; Wed, 26 May 2021 17:19:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.496
X-Spam-Level:
X-Spam-Status: No, score=-1.496 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_SBL=0.5, URIBL_SBL_A=0.1] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=josephg.com header.b=6z/jibNa; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=VJZ+qek1
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 p-cc0VetZjp7 for <jmap@ietfa.amsl.com>; Wed, 26 May 2021 17:19:27 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18DB43A1784 for <jmap@ietf.org>; Wed, 26 May 2021 17:19:26 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id C36D75C00E4 for <jmap@ietf.org>; Wed, 26 May 2021 20:19:24 -0400 (EDT)
Received: from imap35 ([10.202.2.85]) by compute3.internal (MEProxy); Wed, 26 May 2021 20:19:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=josephg.com; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=mesmtp; bh=t3POqjGSjDbAcY8PS21mRyVEqKDT VEZbpIOqGcmvBcU=; b=6z/jibNa8Pf98HFHllfexO9s8dJeA+Ih7coEd5cAJhWr tlbt02wOyCqvbkoVChutRSHPEXwSQpL5GBxvNcIDv0E0Zpa18vGMtrhG1NWxZAJR otWFsnKwVnIvhFWmZMPEo9z/pfwYYWihZVTc+xsjrn4Ng4OXE6KA5Iiv5u71aUs=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=t3POqj GSjDbAcY8PS21mRyVEqKDTVEZbpIOqGcmvBcU=; b=VJZ+qek1zVExKG9+7oScK5 XXeRu1K58JeWsLHnIYt56TpaSIt+et4Z7HoaPwem7sumHndXLgcnuNKus3jRZ4Pw q+1VypKzH1AOFh+4l7V14ynGQxMychGBVS2zfjIlVytPrglO7LGgn5eezWkjPNSA i60+FO0vGZF0voOCXiUFbrE3xPU0YO+78IzEBBmhyiuTG6J122CRyW4PUOSeqcDw hPjZjbe6ooi9/siuwvDss+K6aaMurwIyEtpCsRQXVH0oGiSeC+JAeW8/4laiGLD6 vnK1qsMs9iHCNza2wXd34eMplyo0pF3IHoamwL8pahyfxTT2/rM4sHSc01avy0TQ ==
X-ME-Sender: <xms:jOWuYG_zLUAtpiD3C87X3LH1HkjsAt_vwJI-BI8Rw4hgnqiOIvhqGQ> <xme:jOWuYGt8kJAgWbYa0B3Z6b7zJgjeCBEcMXz6JEIGmMPzPP2ZkJL39oT_tkbYIvdg1 jRwDTU8t1xS441s8g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekgedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerredtnecuhfhrohhmpedfufgvphhhucfivghnthhlvgdfuceomhgvsehjohhsvghp hhhgrdgtohhmqeenucggtffrrghtthgvrhhnpeeghffhkeeuhfevgedvudegheejhffgje fhueevkefgvdehjeeltddukeektdevudenucffohhmrghinhepghhithhhuhgsrdgtohhm necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvse hjohhsvghphhhgrdgtohhm
X-ME-Proxy: <xmx:jOWuYMBzUdGgKCJLMIyf14E-GBpB7qdcJNCkJ2usQyu3hupmIg_95A> <xmx:jOWuYOc0kMcjJRRnb_rQXmpXeVDD-Wf5xBuZkDDXm6S6PiNRRMSDEQ> <xmx:jOWuYLPUJdtvfp_NDtbppvPAErqD-W-07OK555RygD3iYVvYbZH2yA> <xmx:jOWuYEalpWa5IUyCaFofiFoLlHVP1lbs366extnr5QFgcoTylWR7jA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 157D515A0064; Wed, 26 May 2021 20:19:23 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416
Mime-Version: 1.0
Message-Id: <4dd7074a-3bfd-4bd0-949e-d62d2903e67d@www.fastmail.com>
In-Reply-To: <CAJi=jaeZ7uC+CoXLhSekvO-pOJnHgSOFNzZ_WBCv1Sf9HfqK2A@mail.gmail.com>
References: <CAJi=jaeZ7uC+CoXLhSekvO-pOJnHgSOFNzZ_WBCv1Sf9HfqK2A@mail.gmail.com>
Date: Thu, 27 May 2021 00:19:02 +0000
From: "Seph Gentle" <me@josephg.com>
To: jmap@ietf.org
Content-Type: multipart/alternative; boundary=fb5103d2950347eab3a68226d96882cc
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/wu_nie80L4XYUvTlf_Wm9vD8_eM>
Subject: Re: [Jmap] new JMAP server for prototyping
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 27 May 2021 00:19:33 -0000

On Fri, May 14, 2021, at 6:32 PM, Jamey Sharp wrote:
> Hey all: for the past few weeks I've been working on a new JMAP server with the goal of making it easy to prototype new data models. I'd love it if folks could take a look and maybe help implement or at least validate it.
> 
> https://github.com/jameysharp/jterritory

This is really cool. I wanted to make something like this for email a couple years ago, and got stuck parsing email in a jmap-kind of way. I ended up making this:

https://github.com/josephg/mime-to-jmap

This is the email envelope -> JMAP code path from cyrus, pulled out into a stand-alone library and compiled to wasm so it can be used in lots of contexts. It might take some work, but you could probably make a simple jmap email server if you want to by combining our efforts.

-Seph