write and read email id to csv file