Skip to content

sodrew/outlook_junk_filter

Repository files navigation

outlook_junk_filter

Is this your Use Case?

You have a Outlook/Hotmail account and you want to delete true junk out of your "junk" folder

Context for creation

Outlook/Hotmail doesn't provide a very good way of deleting junk mail in the junk mail. The rules don't apply to the sender name, but it's pretty easy to identify junk by the sender name. By sender name I mean the John Doe in "John Doe" jdoe@domain.com

How to use this:

  1. Install python3 and pip (google this)
  2. Enable an app password for your outlook/hotmail: https://support.microsoft.com/en-us/account-billing/manage-app-passwords-for-two-step-verification-d6dc8c6d-4bf7-4851-ad95-6d07799387e9
    1. Login to hotmail
    2. Go to the top right and click your picture
    3. Click "My Microsoft Account"
    4. Click "Security" on the top banner
    5. Click "Advanced security options" (on this page, make sure that Two Step verification is enabled, if not, enable it)
    6. Click "Create New App password" (if you can't find this on the page, enable two step verification)
  3. Edit the config file with your email and app password
  4. Update dependencies in pip (really just tqdm): pip install -r requirements.txt --upgrade
  5. Run the script! You could set it to be a cron job or just run it on demand. python3 outlook_junk_filter.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages