Find the reply key for a specific topic. Rails console magic?

If you want to create new topics in a given category, then you set that up in the Custom incoming email address: setting in the category settings. See Configure incoming email to create new topics or group messages, I think.

I don’t think there’s any way to do that for a topic, as each reply key is tied to a topic and a username.