Apple's Mail on iOS has this feature where it memorizes where you move messages to. I think, it is somehow based on subject/recipient/sender. It would be nice to have that in Thunderbird, on top of the "Move to 'foo' again" where it only uses the last moving location for the previous message.