{
  "name": "gmailtrigger",
  "display_name": "Gmail Trigger",
  "description": "Fetches emails from Gmail and starts the workflow on specified polling intervals.",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "googleApi",
      "required": true
    },
    {
      "name": "gmailOAuth2",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "authentication",
      "display_name": "Authentication",
      "kind": "options",
      "required": false,
      "default": "oAuth2"
    },
    {
      "name": "event",
      "display_name": "Event",
      "kind": "options",
      "required": false,
      "default": "messageReceived"
    },
    {
      "name": "simple",
      "display_name": "Simplify",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return a simplified version of the response instead of the raw data"
    },
    {
      "name": "maxResults",
      "display_name": "Max Emails per Poll",
      "kind": "number",
      "required": false,
      "description": "Maximum number of emails to fetch each time the node polls for new messages. If more emails arrive between polls, the remaining ones will be picked up in subsequent polls."
    },
    {
      "name": "filters",
      "display_name": "Filters",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Whether to include messages from SPAM and TRASH in the results"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "default": "attachment_",
      "description": "Prefix for name of the binary property to which to write the attachment. An index starting with 0 will be added. So if name is "
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Google/Gmail/GmailTrigger.node.ts"
}