Skip to content

SimonW1010/PromoEmailSave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

PromoEmailSave

Saves all new incoming email sender addresses to a txt or csv file for later use or reference

Imports

Imports needed:

import time
import datetime
import email
import imaplib

Creating google app password

Follow simple instructions here under "Create and use App Passwords"

Google instructions link

Txt file

Make sure the txt file is in the same directory as the code before running!

Extra

I use keyring for storing my email and app password so I don't have to hard-code it

import keyring

#####################################

If you want to write to csv rather than a txt file

import csv

About

Saves all new incoming emails to a txt or csv file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages