I challenge you to do a “three-finger swipe undo” in Mail without also selecting a message.

Even four-finger swipe app switching on iPadOS seems to register taps for me.