MBOX-Line: From janssen at parc.com  Mon May  2 15:45:39 2011
To: imap-protocol@u.washington.edu
From: Bill Janssen <janssen@parc.com>
Date: Fri Jun  8 12:34:45 2018
Subject: [Imap-protocol] Looking for help implementing an IMAP-to-HTTP
	gateway for web app developers
In-Reply-To: <7D2A9AA5-CC8F-4C8A-A917-4E242E7BCE12@gmail.com>
References: <7D2A9AA5-CC8F-4C8A-A917-4E242E7BCE12@gmail.com>
Message-ID: <33073.1304376339@parc.com>

Brian McConnell <bsmcconnell@gmail.com> wrote:

> The only missing piece is a reliable IMAP-HTTP utility. This need not
> be an especially complex program, since it just speaks IMAP to the
> client,

LOL.  "just"

> and translates IMAP commands (e.g. a request to fetch a list of
> folders) into HTTP requests that are submitted to an upstream service,
> which replies with a formatted response (e.g. a JSON recordset) that,
> in turn, is converted back into IMAP form.

Seems like you'd need a transducer spec first.

Take a look at my IMAP server in UpLib, http://uplib.parc.com/.  It maps
documents in a document archive into email messages, and support using
an IMAP client to manipulate a document repository.  Open-source Python
implementation.

Bill

