Looked into the CAPI documentation.There is an event EM_NSFADDTOFOLDER. This event is triggered when a note is added to a folder. There is no event when a note is removed from a folder ( at least I could not find it on first sight ).
The EM_NSFADDTOFOLDER is not implemented in TH, but I will build it in for the next release