RULE question: Delete folder on eM Client startup

I would like to define a rule to delete a folder when I start eM Client.  The templates provided do not seem to provide this option.  How can this be done?

rules can be set only to messages upon receiving or sending them. A rule to delete a whole folder upon startup cannot be set.
Do you experience any problems with unneeded folders being created on your server?