Implemented email view for exporting data.
Implemented getCSVString method.