Simple script to convert email to JSON (to store in couchdb)
Write a simple script in python to convert from RFC822 (email) to JSON format.
This is the format I would like for JSON
Here are some scripts that do a similar thing (but not entirely)
Bonus points if you can load it into couchdb (I'll give you the URL)
Extra bonus points if you can pipe the email directly from the postfix mailbox_command.
I don't mind how you do it, probably python is best.
***To apply please explain the functions, processes, and tools you will use to complete the task***