Metadata-Version: 2.1
Name: junk-email-collector
Version: 1.0.0
Summary: Download raw Junk/Spam emails using IMAP.
Home-page: https://github.com/wesinator/junk-email-collector
Author: wesinator
License: UNKNOWN
Keywords: spam
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: imbox

# Junk Email Collector
Download raw Junk/Spam emails using IMAP.

## Requirements

[Imbox](https://github.com/martinrusev/imbox) (Python 3)

## Usage
```python3
#!/usr/bin/env python3
from junk_email_collector import JunkEmailCollector

example_junk = JunkEmailCollector("imap.example.com", "email@example.com", "password", "Junk")
example_junk.get_junk()

```

Will download all unread emails from "Junk" folder of `email@example.com`, saving the raw emails to the folder `email_example.com/`


