compare csv and email

email functionality added (not working yet with localhost settings,
however)