A minimum thickness gate valve with integrated ion optics for mass spectrometry