Toggle Menu
Prev Up Next

# `langchain_community.tools.gmail.utils`.build_resource_service

langchain_community.tools.gmail.utils.build_resource_service(credentials: Optional[Credentials] = None, service_name: str = 'gmail', service_version: str = 'v1') → Resource

  Build a Gmail service.

  Parameters

    - credentials (Optional[Credentials]) –

    - service_name (str) –

    - service_version (str) –

  Return type

    Resource

# Examples using build_resource_service

- os.environ[“LANGCHAIN_TRACING_V2”] = “true”