Exporting a single email as JSON

Jameson Graef Rollins jrollins at finestructure.net
Sat Dec 10 12:15:39 PST 2011


On Sat, 10 Dec 2011 20:32:22 +0200, Ciprian Dorin Craciun <ciprian.craciun at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111210/ba9c91ce/attachment.pgp>


More information about the notmuch mailing list