build_resource_service#

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

Build a Gmail service.

Parameters:
  • credentials (Optional[Credentials])

  • service_name (str)

  • service_version (str)

Return type:

Resource