Python script that builds a report from a SQL Server stored procedure that takes a date as a parameter and sends it in an email message