foldertype is a Horde_ActiveSync:: constant, not from driverland.