python scripts for message sending through database, excel generation and email sending