def UpdateImap(self, username, enable):
    uri = self._serviceUrl('imap', username)
    properties = {'enable': gdata.apps.service._bool2str(enable)}
    return self._PutProperties(uri, properties)
Update IMAP settings.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/apps/emailsettings/service.py/EmailSettingsService.UpdateImap