Of no interest to anyone who isn’t using Mail.app; I threw this together so that I can move email messages out of my Mail.app “inbox” into my “Done” folder. Saved it in my ~/Library/Scripts/Mail Scripts/ folder with a ctrl_d suffix so that I can just hit ctrl-d to move the email.