Help with outlook node

Hi All,

I have 17,000 CV’s on outlook
i want to fetch them all at once, or per 1000
please help me how can i execute that and then store it to drive

Hey there, i dont think its really possible to do but you could try this code  {
  "name": "Outlook CV Export zu Google Drive (Batch-Verarbeitung)",
  "nodes": [
    {
      "parameters": {
        "options": {
          "runOnce": true
        }
      },
      "name": "Start",
      "type": "n8n-nodes-base.trigger",
      "typeVersion": 1,
      "executeOnce": true,
      "workspaceId": "default",
      "position": [
        240,
        340
      ]
    },
    {
      "parameters": {
        "resource": "message",
        "operation": "getAll",
        "options": {
          "filter": "hasAttachments eq true",
          "folderId": "={{$node[\"Outlook: E-Mails Abrufen\"].v0.data.folderId}}",
          "limit": 1000,
          "orderBy": "receivedDateTime"
        },
        "outlookConnection": "outlook-credentials-id"
      },
      "name": "Outlook: E-Mails Abrufen (Batch 1000)",
      "type": "n8n-nodes-microsoft-outlook.microsoftOutlook",
      "typeVersion": 1,
      "workspaceId": "default",
      "position": [
        480,
        340
      ]
    },
    {
      "parameters": {
        "resource": "messageAttachment",
        "operation": "getAll",
        "options": {
          "messageId": "={{$json.id}}",
          "returnAll": true
        },
        "outlookConnection": "outlook-credentials-id"
      },
      "name": "Outlook: Anhänge Extrahieren",
      "type": "n8n-nodes-microsoft-outlook.microsoftOutlook",
      "typeVersion": 1,
      "workspaceId": "default",
      "position": [
        720,
        340
      ]
    },
    {
      "parameters": {
        "resource": "file",
        "operation": "upload",
        "fileId": "={{$json.name}}",
        "options": {
          "folderId": "google-drive-folder-id",
          "mimeType": "application/pdf"
        },
        "googleDriveConnection": "google-drive-credentials-id"
      },
      "name": "Google Drive: CV Speichern",
      "type": "n8n-nodes-google-drive.googleDrive",
      "typeVersion": 1,
      "workspaceId": "default",
      "position": [
        960,
        340
      ]
    }
  ],
  "connections": {
    "Start": [
      [
        "Outlook: E-Mails Abrufen (Batch 1000)"
      ]
    ],
    "Outlook: E-Mails Abrufen (Batch 1000)": [
      [
        "Outlook: Anhänge Extrahieren"
      ]
    ],
    "Outlook: Anhänge Extrahieren": [
      [
        "Google Drive: CV Speichern"
      ]
    ]
  },
  "active": false,
  "settings": {
    "saveDataExpirationTimes": {}
  },
  "id": "outlook-cv-export-to-drive"
}