Gmail Single User

Gmail API using OAuth 2.0.

Email · Gmail Single User

Configuration parameters

  • email — Email of user (required)
  • send_as — Send as
  • credentials — Client ID
  • client_id — Client ID
  • client_secret — Client Secret
  • redirect_uri — Auth Redirect URI
  • auth_code_creds
  • code — Auth Code (run the !gmail-auth-link command to start the auth flow - see Help section)
  • incidentType — Incident type
  • isFetch — Fetch incidents
  • fetch_time — First fetch timestamp, in days.
  • query — Events query (e.g., "from:example@demisto.com")
  • fetch_limit — Maximum number of emails to pull per fetch
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • legacy_name — Use legacy attachment name

Commands (6)

  • gmail-auth-link

    Starts the OAuth2 process. Get a link to use to authenticate to Gmail.

  • gmail-auth-test

    Tests that Gmail auth is configured properly. Use this command after completing the OAuth2 authentication process.

  • gmail-get-attachments

    Retrieves attachments from a sent Gmail message.

  • gmail-get-incidents

    Retrieves a list of emails from Gmail within a specific date range and formats them as incidents.

  • reply-mail

    Replies to a mail using Gmail.

  • send-mail

    Sends an email using Gmail.