"According to libdbx.h this returns one of DBX_TYPE_FOLDER or DBX_TYPE_EMAIL. Use it to check whether the folder contains emails or other folders." . . . .