Mail.app - keyboard shortcuts to move mail and jump to folder
To do this, you need to display the Favorites Bar, which you can enable by going to Mail » View » Show Favorites Bar.

You can add any folder to this bar, which you can then easily switch to with Command1, Command2, etc.

CtrlCommand1 moves the currently selected email(s) to the respective folder.