Sorts information for badges from email into accessible csv form