# GetFoldersByGMLabels

The `GetFoldersByGMLabels` parameter specifies whether the connector should use Gmail IMAP extensions to retrieve message locations when ingestion takes place from multiple folders. This parameter works only with Gmail. To optimize the connector for retrieving message locations from Gmail, set this parameter to `true`.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: | `GetFoldersByGMLabels=True`
See Also: |

_FT_HTML5_bannerTitle.htm