Hi Bill,
This code works for me:
import smtplib
#add the following lines to the end of your python script
to = '' #insert reciever email address (can be same as sender)
gmail_user = '' #your gmail sender address
gmail_pwd = '' #your gmail password
smtpserver = smtplib.SMTP("smtp.gmail.com",587) #the technical stuff
smtpserver.ehlo() #the technical stuff
smtpserver.starttls() #the technical stuff
smtpserver.ehlo #the technical stuff
smtpserver.login(gmail_user, gmail_pwd) #the technical stuff
header = 'To:' + to + '\n' + 'From: ' + gmail_user + '\n' + 'Subject:testing \n'
msg = header + '\n' + 'Your Python Script has now Completed!' #The completion message
smtpserver.sendmail(gmail_user, to, msg) #Sending the mail
smtpserver.close() #closing the mailserver connection