Re: Exporting a single email as JSON

Subject: Re: Exporting a single email as JSON

Date: Sat, 10 Dec 2011 12:15:39 -0800

To: Ciprian Dorin Craciun, notmuch@notmuchmail.org

Cc:

From: Jameson Graef Rollins


On Sat, 10 Dec 2011 20:32:22 +0200, Ciprian Dorin Craciun <ciprian.craciun@gmail.com> wrote:
>     Quick question: why isn't it reasonable to export a **single**
> email in JSON format (by using the `show` sub-command)? (I mean I
> understand that in order to be able to correctly parse the output we
> need only one "object" (i.e. a list of threads, containing a list of
> emails, etc.). But there might be use cases in which we need a
> "twist".)

Hi, Ciprian.  I agree that it would be nice too have the ability to
output single messages without the rest of their thread.  I have on
occasion wanted this functionality, but never enough to get around to
implementing it.  It definitely wouldn't be that hard to implement,
though.

The notmuch show function is actually going through a pretty major
overhaul at the moment.  I bet as soon as that's done we can get some
sort of single-message output going.

jamie.
part-000.sig (application/pgp-signature)

Thread: