Install the required libraries (as per the code) before running the script. Also, note if the product is not available currently then no email will be sent to user. Track_Id should be provided by the user for the product he wants to keep track of.
requests time smtplib schedule
install this libraries using pip command in cmd