View Single Post
Originally Posted by gcrump View Post
it doesn't work with all inboxes types (i.e. Exchange and gmail).
Just a bit of clarification in case someone reads this and gets the impression it doesn't work at all with gmail. It should work with gmail if you've configured the account as IMAP.

The script looks pretty innocuous, and I don't see any obvious crashers in there. I don't use it myself, and have way too much flagged stuff to experiment with it. When you say it crashes after adding about four items, does that mean 4 items in the same run of the script? Was there any error message provided?