Add second group of categories, fix itertools flatten and joining of lists bug, add new text file for manually saving emails, add debugging script for manual debugging