Button that creates folder

We have switched to a new voicemail provider that integrates their product with Notes. One option with the new system is when you call in to check your messages, you have the option to save the message. When you do this, the voicemail system creates a hidden folder called $Saved and puts the messages in there. This is bad because then users can’t see the messages except in the All Documents view. I have been trying to program a button that we can send via email to our users that creates a folder named Saved with an alias of $Saved. The trick is that some people may already have a Saved or $Saved folder and for those it needs to create the part that they don’t have. I have done something similar with making some ACL changes, but I thought before I spend too much time getting lost in IF/ELSE statements, I would see if someone has any ideas from anything they have done before. Thanks!

Subject: creating/renaming a folder automatically.

I don’t know how much effort it’s worth putting into a search; this sounds like about a 20-line script at most. You use db.GetView to find the view, set the Name and Aliases properties as appropriate. If the view doesn’t exist, you use PutInFolder method to create it, then find it and add the alias. Seems pretty straightforward.