Simples Python script to generate an email alert based on dates pulled from a MySQL database