This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import imaplib | |
import csv | |
from email import message_from_string | |
import time | |
srv = imaplib.IMAP4_SSL("imap.gmail.com") | |
srv.login('[email protected]', 'joepw') | |
srv.select('[Gmail]/Drafts') |