>
> And what about encryption, handling TNEF attachments, etc? Seems like a
> big job to me.
>
>
I would be happy with an importer that reads basic mbox.

I use Alpine for my offline email reader. I can prepare a folder with
exactly which emails I want in it and it pushes an mbox file for it.

So the importer would have to read the mbox file which is one big file with
all of the messages in the folder. There are a few core fields that matter
to me in an email.

FROM: Jane Wed Oct 5 01:06:54 2018
From: j...@example.com
To: Me d...@example.com
Subject: <message description>

<Body of the message>

One could argue for other fields, different fields, or all of the fields
out of the RFC for email but this is what would need to be parsed out of
the mbox file for my use case. A path to any attachments at the end would
be handy for some people for example.

The FROM: line becomes the uniques identifier for the node and forms the
headline.

The body of the node would include the other four strings in exactly the
format seen above.

There is little point in trying to duplicate an email client. It is a
mature technology and the current clients are quite sophisticated. Leo's
forte here is organizing information and an mbnox importer (mbox being a
lower common denominator format with a bunch of tools to convert to and
from the rest across platforms) would definitely be useful in any number of
contexts within other Leo files. SUpporting mbox would be the simplest
thing that could possibly work if importing email is a goal.

So to sum up: The feature would be an mbox importer tied to an @mail node
of the form @mail /home/chris/mail/personal which is simply the path to the
mbox file for my personal email account.. Each message would have a
headline and a body as specified and appear as a child of the mailbox node.
Leaving all of the heavy lifting up to a mature email client seems prudent.
For example all of the overhead of encryption etc. could be dealt with
their and a simple unencrypted mbox file could be produced from almost
every mail client.


Chris

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to