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.

Source Distribution

junk-email-collector-1.0.0.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page