Skip to main content

Download raw Junk/Spam emails using IMAP.

Project description

Junk Email Collector

Download raw Junk/Spam emails using IMAP.

Requirements

Imbox (Python 3)

Usage

#!/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/

Project details


Download files

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

Files for junk-email-collector, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size junk_email_collector-1.0.0-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size junk-email-collector-1.0.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page