Yes, you can plug the car in in the rain. No damage can be done to the car's on-board charger, or the battery pack, or yourself - even if you poured salt water is right into charging receptacle while charging (but don't try it just to be absolutely safe). The car and EVSE, as required by SAE Standard J1772 (and a similar European standard) has multiple safety layers:
1. The charging plug from the charging station (the EVSE - including that box for 120 volt charging) is only energized when it is plugged in the car and the car is providing a specific "charge me" signal (I'll provide the technical details if you want).
2. The charging plug and receptacle has seals to minimize water entry - and remember, plain rain water is not very electrically conductive.
3. The EVSE contains a ground-fault circuit interrupter - like electric outlets outlets are required to have in bathrooms or near sinks. This is what would trip in the case of pouring salt water in the plug (should the seals leak), or your body by some unlikely means, come in contact with the energized circuit.
4. And finally, the EVSE is connected to a circuit-breaker protected circuit.
Regarding submergence, I dont know for sure, but it would seem fairly certain that the battery pack is designed to be is watertight against moderate submergence - a few feet at least - such as might happen fording a stream or the like. Recall that even ordinary driving in heavy rain or slushy-salty winter roads pummels the battery pack with water and brine.