added method to save email addresses from the email array to a csv