Once a wine has suffered heat stress, it'll never recover fully, so avoiding it in the first place is the way to go.
You can get foam packing containers designed for wine, they act as a good insulator against temp changes and keep it safe too!! But they do add quite a bit of bulk to the packaging though...
Enjoy the wine!!
Cheers
TiggerK