A PTFE packing will never support 400°C, but Graphite Packing will get there easily, and if you try a pretreated graphite with corrosion inhibitors you can get even hotter.
About thermal cycling don't worry for the gasket flexible graphite will support it big time.
To minimize emission the...