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.0.tar.gz (41.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.4.0-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mailbagit-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2767830e416b82a6adb98f7027f219abe99b6db9e3efe20bcb02ceb5de1d9de8
MD5 7a7342141dbf114e0cb0ce688139b7c5
BLAKE2b-256 5c2b6e8497616cce952ec44f936035338b17390eba8a0b21d2c096e78e4132e1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mailbagit-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0145738197c9e7373dba870c8472e9192b5901c4a08f6fcee23d36deaa6a4ff3
MD5 f45434f72f73e9928a27b2a08f78f0a6
BLAKE2b-256 d616f589dcc6445562bd870227489d4c816cfb3f939bfdb5ee0038646ed9f3da

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