Skip to content

Instantly share code, notes, and snippets.

@breard-r
Created September 10, 2016 09:48
Show Gist options
  • Select an option

  • Save breard-r/1444a9d1285eb9b0a2148865658a4d91 to your computer and use it in GitHub Desktop.

Select an option

Save breard-r/1444a9d1285eb9b0a2148865658a4d91 to your computer and use it in GitHub Desktop.
pluck spam
require ["fileinto", "imapflags"];
if header :contains "sender" "pluckhq.com" {
setflag "\\Seen";
fileinto "Junk";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment