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.2.1.tar.gz (35.0 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.2.1-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mailbagit-0.2.1.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mailbagit-0.2.1.tar.gz
Algorithm Hash digest
SHA256 323b86cd6343b71b771104c88ffb04bd21e744b58f22fe81df9f5f66ea8073da
MD5 83000fd5f82c329531b55598cb723834
BLAKE2b-256 ff1b1b6a69a3b7c888012f5aca6f12dbdea6dec0e2f346e9eaf70acda06f22fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mailbagit-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 48.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for mailbagit-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a64cd96fc370af0f85e23b1e3d8a7aa57b92a0788b7eeac0581fee9afb894035
MD5 6110f845249ab9e36e6a09bcf1d098b6
BLAKE2b-256 ba842a66c269ae7b47db262bed77efb16961dcdb4d141d7e4eee5df49c407dc4

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