imapbox favicon

imapbox

This program aims to save a mailbox for archive using files in indexable or searchable formats. The produced files should be readables without external software, for example, to find an email in backups using only the terminal

For each email in the imap mailbox, create a folder with the following content: message.html if an html part exists for the message body. the message.html will allways be in utf-8, the embeded images links are modified to refer to the attachments subfolder attachements The attachements folder contains the attached files and the embeded images message.txt this file contain the body text if available in the original email, allways converted in utf-8 metadata.json Various informations in JSON format, date, recipients, body text, etc... This file can be used from external applications or a search engine like elasticsearch raw.eml.gz A gziped version of the email in eml format Imapbox was designed to archive multiple mailboxes in one common directory tree, copies of the same message spread knew several account will be archived once using the Message-Id property.