Python unresolved reference import MIMEMultipart
With python 3.6:
from email.mime.multipart import MIMEMultipartfrom email.mime.text import MIMETextfrom email.mime.base import MIMEBase
The email package was refactored at some point and the Mime support is now in the email.mime
package.