Emails and a small unit test bug

The necessary custom email scripts and a gen_test_list.py bug that was causing a small subset of cycamore unit tests to be skipped over.
space, pep8