Do not show file folder in email list.
There are folders without a share annotations but a private
If the shared annotation is set read that, and if not try the private
annotation. Also make sure hat only the main type is used to
determine the folder type.
Original Patch by Sandro Knauss