on msdn they have a sample that creates and sends an invitation
link msdn
but this will not work for public folders:
"The reason it should not work is because public folders do not publish busy information. You cannot invite a shared folder to a meeting and you don’t see if a shared folder is available."
source share