issue #19290: be flexible in email inputs