When it’s a user interacting with the site, the email reply keys are what’s used to keep everything in the same topic. You would be using mailing list mode here to get the reply keys into the secure environment.
The “email-in” functionality (as distinct from “reply by email”) will only ever create topics, currently, and will never add to an existing topic.