Handle missing emails/domains/urls more elegantly when matching a domain to partner [MJ-838]

All tests pass.