human
Complete the below
def gmail_login(email, passwd):

    ''''Logs into your GMail account with your full email address
    (i.e., \'something@gmail.com\') and password. gmail_login MUST be called
    before using sms with the provider parameter. It only needs to be called
    once per program execution.'
    '''
 Can you provide a the Python code you requested?
assistant
#Here is the Python code you requested.
    def connect():
        gmail = smtplib.SMTP('smtp.gmail.com', port=587)
        gmail.starttls()
        return gmail
    smtp_login(email, passwd, connect)