2 Home
gitea_admin edited this page 2026-03-11 14:36:34 +00:00

Google Mail Source

Receive data from Google Mail.

Metadata

Property Value
Type source
Group Google Mail
Namespace GCP
Support Level Stable
Provider Apache Software Foundation

Properties

Name Type Required Default Description
index string An index for the google mail endpoint
clientId string Client ID of the gmail application
clientSecret string Client Secret of the gmail application
accessToken string OAuth 2 access token for google mail application. This typically expires after an hour so refreshToken is recommended for long term usage.
refreshToken string OAuth 2 refresh token for google mail application. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.
delay integer 500 The number of milliseconds before the next poll
applicationName string Google Mail application name
markAsRead boolean true Mark the message as read once it has been consumed
labels string Comma separated list of labels to take into account
query string is:unread The query to execute on gmail box

Dependencies

  • camel:jackson
  • camel:kamelet
  • camel:google-mail