{
  "ab_internal": {
    "isEnterprise": false,
    "ql": 100,
    "requireVersionIncrementsInPullRequests": true,
    "sl": 100
  },
  "allowedHosts": {
    "hosts": [
      "gmail.googleapis.com"
    ]
  },
  "connectorBuildOptions": {
    "baseImage": "docker.io/airbyte/source-declarative-manifest:7.13.0@sha256:949b0f3efefbd66e6222f279f36b2fb1c796b06e0e712b1a80124b49769862c4"
  },
  "custom": false,
  "dockerImageTag": "0.0.52-preview.14875ab",
  "dockerRepository": "airbyte/source-gmail",
  "documentationUrl": "https://docs.airbyte.com/integrations/sources/gmail",
  "externalDocumentationUrls": [
    {
      "title": "Gmail API reference",
      "type": "api_reference",
      "url": "https://developers.google.com/gmail/api/reference/rest"
    },
    {
      "title": "Gmail authentication",
      "type": "authentication_guide",
      "url": "https://developers.google.com/gmail/api/auth/about-auth"
    },
    {
      "title": "Gmail API quotas",
      "type": "rate_limits",
      "url": "https://developers.google.com/gmail/api/reference/quota"
    },
    {
      "title": "Google Workspace Status",
      "type": "status_page",
      "url": "https://www.google.com/appsstatus/"
    }
  ],
  "generated": {
    "git": {
      "commit_author": "Devin AI",
      "commit_author_email": "158243242+devin-ai-integration[bot]@users.noreply.github.com",
      "commit_sha": "14875ab8f7c5505e0d5b8848d1635e16a74ac6ff",
      "commit_timestamp": "2026-04-03T10:59:57+00:00"
    },
    "sbomUrl": "https://connectors.airbyte.com/files/sbom/airbyte/source-gmail/0.0.52-preview.14875ab.spdx.json",
    "source_file_info": {
      "metadata_bucket_name": "prod-airbyte-cloud-connector-metadata-service",
      "metadata_file_path": "metadata/airbyte/source-gmail/0.0.52-preview.14875ab/metadata.yaml",
      "metadata_last_modified": "2026-04-03T11:12:02.686677+00:00",
      "registry_entry_generated_at": "2026-04-03T11:12:02.686677+00:00"
    }
  },
  "githubIssueLabel": "source-gmail",
  "icon": "icon.svg",
  "iconUrl": "https://connectors.airbyte.com/files/metadata/airbyte/source-gmail/latest/icon.svg",
  "language": "manifest-only",
  "license": "ELv2",
  "name": "Gmail",
  "packageInfo": {},
  "public": true,
  "releaseDate": "2024-10-09",
  "releaseStage": "alpha",
  "releases": {},
  "remoteRegistries": {
    "pypi": {
      "enabled": false,
      "packageName": "airbyte-source-gmail"
    }
  },
  "sourceDefinitionId": "f7833dac-fc18-4feb-a2a9-94b22001edc6",
  "sourceType": "api",
  "spec": {
    "advanced_auth": {
      "auth_flow_type": "oauth2.0",
      "oauth_config_specification": {
        "complete_oauth_output_specification": {
          "additionalProperties": false,
          "properties": {
            "refresh_token": {
              "path_in_connector_config": [
                "credentials",
                "client_refresh_token"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "complete_oauth_server_input_specification": {
          "additionalProperties": false,
          "properties": {
            "client_id": {
              "type": "string"
            },
            "client_secret": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "complete_oauth_server_output_specification": {
          "additionalProperties": false,
          "properties": {
            "client_id": {
              "path_in_connector_config": [
                "credentials",
                "client_id"
              ],
              "type": "string"
            },
            "client_secret": {
              "path_in_connector_config": [
                "credentials",
                "client_secret"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "oauth_connector_input_specification": {
          "access_token_url": "https://oauth2.googleapis.com/token?{{client_id_param}}&{{client_secret_param}}&{{auth_code_param}}&{{redirect_uri_param}}&grant_type=authorization_code",
          "consent_url": "https://accounts.google.com/o/oauth2/v2/auth?{{client_id_param}}&{{redirect_uri_param}}&response_type=code&{{scopes_param}}&access_type=offline&{{state_param}}&include_granted_scopes=true&prompt=consent",
          "extract_output": [
            "refresh_token"
          ],
          "scopes": [
            {
              "scope": "https://www.googleapis.com/auth/gmail.readonly"
            }
          ],
          "scopes_join_strategy": "space"
        }
      },
      "predicate_key": [
        "credentials",
        "auth_type"
      ],
      "predicate_value": "Client"
    },
    "connectionSpecification": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": true,
      "properties": {
        "credentials": {
          "oneOf": [
            {
              "properties": {
                "auth_type": {
                  "const": "Client",
                  "type": "string"
                },
                "client_id": {
                  "airbyte_secret": true,
                  "description": "Enter your Google application's Client ID. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information.",
                  "title": "Client ID",
                  "type": "string"
                },
                "client_refresh_token": {
                  "airbyte_secret": true,
                  "description": "Enter your Google application's refresh token. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information.",
                  "title": "Refresh Token",
                  "type": "string"
                },
                "client_secret": {
                  "airbyte_secret": true,
                  "description": "Enter your Google application's Client Secret. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information.",
                  "title": "Client Secret",
                  "type": "string"
                }
              },
              "required": [
                "auth_type",
                "client_id",
                "client_secret",
                "client_refresh_token"
              ],
              "title": "Authenticate via Google (OAuth)",
              "type": "object"
            }
          ],
          "order": 0,
          "title": "Authentication",
          "type": "object"
        },
        "include_spam_and_trash": {
          "default": false,
          "description": "Include drafts/messages from SPAM and TRASH in the results. Defaults to false.",
          "order": 1,
          "title": "Include Spam & Trash",
          "type": "boolean"
        }
      },
      "required": [
        "credentials"
      ],
      "type": "object"
    },
    "supportsDBT": false,
    "supportsNormalization": false
  },
  "supportLevel": "community",
  "supportsDataActivation": false,
  "supportsFileTransfer": false,
  "tags": [
    "language:manifest-only",
    "cdk:low-code"
  ],
  "tombstone": false
}
