Issue #19590: Use specific asserts in email tests.