Fix email tests.