Skip to main content

Format mbox as HTML/XML

Project description


This tiny script formats an mbox as HTML or XML. It is intended for rendering email replies on websites and their RSS feed.


This Python package depends on bleach for HTML sanitising and markdown for, well, rendering Markdown to HTML. It is, however, not designed to work with HTML emails with all those CSS and Java scripts.


$ formbox --help
usage: formbox [-h] mbox id template

format mbox as HTML/XML

positional arguments:
  mbox        path to mbox file
  id          root message ID
  template    path to template

optional arguments:
  -h, --help  show this help message and exit


This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Project details

Download files

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

Source Distribution

formbox-0.1.0.tar.gz (14.7 kB view hashes)

Uploaded Source

Built Distribution

formbox-0.1.0-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page