human
Issue sending email with python?
assistant
Here is some code to setup a smtp mail server to `smtp.gmail.com` with port `587`

server = smtplib.SMTP('smtp.gmail.com', 587)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.