I would put it anywhere other than in that monster method!
Best ploy would be to refactor this into separate methods. eg.
this.GatherParams()
this.GeneratePrintOutput()
this.GenerateAndSendEmail()
this.GenerateAndSendCSV()
Looks like you have the Emailing sussed so sending the csv to yourself is no problem. The csv can obviously be generated direct from the params, just concatenating the string values.