# Write a program that scans through your email account, finds all the unsubscribe
# links in all your emails, and automatically opens them in a browser. This program
# will have to log in to your email provider’s IMAP server and download all of your
# emails. You can use BeautifulSoup to check for any instance where the word
# unsubscribe occurs within an HTML link tag.
#
# Once you have a list of these URLs, you can use webbrowser.open() to automatically
# open all of these links in a browser.

@@ -494,8 +494,167 @@
 rowser.%0A
+%0Aimport imapclient, bs4, webbrowser%0A%0A%0A# Login to IMAP server%0A%0A# Get message and soupify%0A%0A# Check soup for unsubscribe links%0A%0A# Open link in browser%0A%0A# Log off%0A

Update P3_autoUnsubscribe added imports and outline