Added email updates to unit tests