(* Freeware AppleScript from WhatsMyIP.org © 2017 Check out our other scripts! @ http://www.whatsmyip.org/lib/applescripts/ SpamCop Assist copies the raw source of the currently selected email to the clipboard, then marks that mail as junk and moves it to the junkmail folder. Place this script in ~/Library/Scripts/Applications/Mail/ to use it in the Script menu. If you don't have a Script menu, it can be turned on in Script Editor.app's Preferences. *) tell application "Mail" set my_selection to selection set selection_count to number of items in my_selection if (selection_count) ≠ 1 then beep display dialog "You must have exactly 1 junk mail selected for this script to work. " & selection_count & " items selected." buttons {"OK"} default button 1 with icon caution else set my_msg to item 1 of my_selection set the clipboard to source of my_msg as string set junk mail status of my_msg to true set this_account to (account of mailbox of my_msg) set mailbox of my_msg to (mailbox "Junk" of this_account) end if end tell