I run SpamSieve on a remote machine. I would like the ability to send an email to that machine and use the mail rules to pick off a subject line, like “Train Spam” to automatically run some applescript to train SpamSieve based on the emails currently sitting in the spam folder. I can handle the rules, but don’t know applescript enough to write the script. I think it is as simple as selecting all the emails in my spam folder and telling SpamSieve to train based on them. However, even that is beyond my skills at this point. Could someone point me to a script that does some of what I need? I can hopefully figure out the rest.