Solution
with mail.connect() as conn:
msg = Message('Password Reset Request',
sender='noreply@demo.com',
recipients=[user.email])
msg.body = 'To reset your password, visit the following link: ' + link +
'. If you did not make this request then simply ignore this email and no changes will be made.'
conn.send(msg)