When a new message appears in the inbox, and you drag it to a subfolder (or any other account folder), ask the user to automatically create a filter for this message to this specific folder. Basically trigger the existing Creat Filter From Message option.
Example text: "Always move incoming messages from xx@xx.xx to FolderX?"
answer options: "Yes/Not now/No, dont ask again"