Skip to content

Instantly share code, notes, and snippets.

@bbriggs
Created February 1, 2016 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbriggs/b7373e85510b1a5d8c84 to your computer and use it in GitHub Desktop.
Save bbriggs/b7373e85510b1a5d8c84 to your computer and use it in GitHub Desktop.
linkedin = personal_messages:contain_from("*@linkedin.com")
linkedin:move_messages(gmail['LinkedIn'])
unfiltered = gmail.Inbox:select_all()
print(os.date().. " - Stuffing everying else into -unfiltered")
gmail.Inbox:move_messages(gmail['Inbox/-unfiltered'],unfiltered)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment