Update functional test with email case