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.1.0.tar.gz (31.9 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.1.0-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mailbagit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b0e29704c40ba18a52b674b0a9c5dbb7cf3d4c326ef07cc1498f32ebd588b5f1
MD5 347d6bd6aa48d522ca7a844468c5503c
BLAKE2b-256 59f6209cf2739adc79f1cbe3b7c76dc6e68b1069122032f6db08a54670e4c401

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mailbagit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 43.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf4c835dbcb03de345ae45592758c148b9cc97a458ea19e056b004ce8958f19d
MD5 ffdf63dc5fde9ca4de45863eec6b614e
BLAKE2b-256 3824f20efc2b5d636109fa6f898f3aeb9cf8d2f9b67ee4af4516744813050984

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