^ What model year is it? Remember that in the internet era, you can search junkyard databases and get things shipped to you too.
How about the other idea of picking a mating connector pair and soldering that up? As far as that goes, how about just soldering the wires right onto it then filling with epoxy? It is not rocket surgery to just make a (mechanically large due to the environment but probably very low current), two wire electrical connection.
You did not tell us the vehicle model or engine or the part # or anything else normally used as info in an automotive forum. How about asking in an automotive forum where they deal with this sort of thing regularly? Measuring does not do so much good on proprietary automotive connectors as it would for general electronics products where the connectors are sourced from existing products, rather than designed from scratch.
Even if you had the housing and pin size, shape, spacing, heat resistance, etc right, that doesn't necessarily mean it's going to seat in and latch, and make a weatherproof seal unless specifically designed for the application. I mean sure if you can get every single dimension right it would but every time you add another variable, it becomes exponentially less likely that a *generic* part will work rather than an OEM one, or an aftermarket once the design has been on the market long enough for anyone to bother. If it is not old enough to find specimens at junkyards then it probably isn't old enough for a sufficient customer base to exist for a 3rd party to make one.
Volvo is unlikely to make very limited runs of vehicles that use this connector, so I feel there has to be a donor in a junkyard somewhere.