write email addresses to txt too