fix NPE when no previous test data available
format email using jelly file
trivial changesX