GithubHelp home page GithubHelp logo

eml2pod's Introduction

eml2pod

Convert e-mails (.eml file format) to files you can store on your Solid Pod.

  • Stores e-mail metadata as Linked Data using schema.org vocabulary
  • Extracts attachments to plain files, like PDF, images, ...
  • Assigns URIs to everything, so you can interlink with other things in your Pod or on the Solid Web.
  • Easily share a mail or single attachments with your friends and colleagues by uploading them to your Pod and share access.

Usage

You need to export an E-Mail as an .eml file, which should be possible with your mail client (Possible in Thunderbird and even Gmail web client).

Then run:

npx eml2pod ./path/to/mail.eml ./output/directory/

The script does not upload anything to your Pod, you have to do this by yourself or with other tools.

eml2pod's People

Contributors

angelo-v avatar

Stargazers

 avatar

Watchers

 avatar  avatar

eml2pod's Issues

online emlpod?

Hi.

I wonder if there is a possibility to launch a website so that one or more users can convert email files to solid-pod.

Customising Uri of message?

I just want to confirm my understanding - is this just a proof of concept at this stage?

If I understand correctly, the Uri template is hardcoded and uses the sluggified subject of the email?

const baseUrl = `https://pod.example/${slug}/`;

I'm interested in exposing my email in my pod to be able to link to it e.g. in task management data.

I think what I'm after is the ability to generate globally unique persistent and deterministic URIs for each email in a form that is at least somewhat human consumable, e.g. in a LDES in LDP TREE structure with /mailbox/YYYY/mm/DD-HHMMSS-from-slug(subject).ttl

Previous work seems to have just focused on message IDs or hashes, which is then rather obscure to the user.

Before going further down this path, I thought I'd check whether you have plans to further modularise this code if it is indeed a proof of concept at this stage?

In the interest of full disclosure, I would want ingestion of email to be automated, either from Thunderbird or directly from IMAP, so I'm not sure whether js & this code will be the language of choice.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.