Perl script to process WSC's emails and create a CSV with past information