Metadata-Version: 2.1
Name: seppmail-converter
Version: 1.0.2
Summary: Decode SEPPMail emails into EML files
License: MIT
Author: Daniel Malik
Author-email: daniel.malik@mhsp.solutions
Requires-Python: >=3.10,<4.0
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: beautifulsoup4 (>=4.12.2,<5.0.0)
Requires-Dist: click (>=8.1.6,<9.0.0)
Requires-Dist: lxml (>=4.9.3,<5.0.0)
Requires-Dist: requests (>=2.31,<3.0)
Description-Content-Type: text/markdown

# SEPPMail Converter

This python tool allows you to convert [SEPPMail](https://www.seppmail.com/) encrypted email files (`html`) to `.eml` files.

## Usage

```
Usage: seppmail-converter [OPTIONS] INPUT_FILE

Options:
  -u, --username TEXT
  -p, --password TEXT
  -o, --output PATH
  -f, --force          Skip SEPPMail input file validation
  -d, --delete         Delete input file after conversion
  -o, --overwrite      Overwrite output file if it exists
  -e, --extract        Extract attachments from .eml file
  -q, --quiet          Suppress all output except final path
  -v, --version        Show the version and exit.
  --help               Show this message and exit.
```

Relevant environment variables:

| Name                | Description                    |
|---------------------|--------------------------------|
| `SEPPMAIL_USERNAME` | Email supplied during login    |
| `SEPPMAIL_PASSWORD` | Password supplied during login |

Unless specified, the script will place the output file next to the input file and name it after the original file.

