Skip to main content

Mailbagit

A tool for creating and managing Mailbags, a package for preserving email in multiple formats. It contains an open specification for mailbags, as well as the mailbagit and mailbagit-gui tools for packaging email exports into mailbags.

Installation

pip install mailbagit
  • To install PST dependancies: pip install mailbagit[pst]
  • To install mailbagit-gui: pip install mailbagit[gui]

You can also run mailbagit using a Docker image.

Quick start

Examples:

mailbagit path/to/messages -i msg --derivatives eml pdf warc --mailbag_name my_mailbag
mailbagit path/to/inbox.mbox -i mbox -d txt pdf-chrome -m my_mailbag -r
mailbagit path/to/export.pst -i pst -d mbox eml pdf warc -m my_mailbag

See the documentation for more details on:

Development setup

git clone git@github.com:UAlbanyArchives/mailbagit.git
cd mailbagit
git switch develop
pip install -e .

Development with docker

Build and run image

docker pull ualbanyarchives/mailbagit:dev
docker run -it ualbanyarchives/mailbagit:dev

License

MIT

Kudos

This project was made possible by funding from the University of Illinois's Email Archives: Building Capacity and Community Project.

We owe a lot to the hard work that goes towards developing and maintaining the libraries mailbagit uses to parse email formats and make bags. We'd like to thank these awesome projects, without which mailbagit wouldn't be possible:

We'd also like to thank the RATOM project whose documentation was super helpful in guiding us though some roadblocks.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mailbagit-0.4.2.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mailbagit-0.4.2-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file mailbagit-0.4.2.tar.gz.

File metadata

  • Download URL: mailbagit-0.4.2.tar.gz
  • Upload date:
  • Size: 41.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for mailbagit-0.4.2.tar.gz
Algorithm Hash digest
SHA256 de4e1497d99f8be63d733aabc64b5688dedcd12cb6f3aec06aa6ca103b079eb5
MD5 b09ec7dab23dc21aa2966e7468e7a3fd
BLAKE2b-256 417662678d033a42f2b678fd80f23a2e652eced47edbc7da6767d4a956364ec5

See more details on using hashes here.

File details

Details for the file mailbagit-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: mailbagit-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for mailbagit-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f2fbac8cd511dcfa5864e32bd0dc79e307ebe2a0bca64521d4b4182d9bd9df2
MD5 fa1ae7361d783e1f56f7acbbcf20f4be
BLAKE2b-256 4e613d5562bd1695e9a13b7e0d2894765b5b0757756d16fc45e8bf6bf8a366e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page