When I asked the parts guy at the dealer to order me a gasket, he told me that they use
3M Strip Caulk rather than the OEM gaskets for all the cars rolling through there.
I haven't tried it yet, but he showed me stuff, and it seems like it would work nice without causing a mess...