Adding a deserialization unit test for testing the hot fix (adding an additional field in email stats).

Also, fixed an issue with the code where the wrong property was being returned. Not cool.