human
I wrote the below code

    def connect():
        gmail = smtplib.SMTP('smtp.gmail.com', port=587)
        gmail.starttls()
        return gmail
    smtp_login(email, passwd, connect)

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def gmail_login(email, passwd):