Python scripts that checks a mail inbox and saves excels to csv