Last active
May 21, 2021 21:34
-
-
Save mkhorasani/9da23e21ba5415290cd0263736af500b to your computer and use it in GitHub Desktop.
This file contains 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
import imaplib | |
import base64 | |
import os | |
import email | |
import pandas as pd | |
from plotly.subplots import make_subplots | |
import plotly.graph_objects as go | |
import plotly.express as px | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
from email.mime.image import MIMEImage | |
import smtplib | |
import sys | |
from PIL import Image | |
email_user = 'username@gmail.com' | |
email_pass = 'password' | |
mail = imaplib.IMAP4_SSL("imap.gmail.com",993) | |
mail.login(email_user, email_pass) | |
mail.select('"Inbox"') | |
_,data = mail.search(None, 'ALL') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment