AI Email Manager with RAG and Classification

7f40e94e-b178-40d9-9bc1-444535b9a42b

Latency
2012ms
Cost
$0.0000
Tokens
0
Status
success
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "9d77e26f-de2b-4bd4-b0f0-9924a8f459a6",
    "timestamp": 1780873850705
  },
  {
    "data": {
      "kind": "n8n-nodes-base.emailReadImap"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780873850705
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "9d77e26f-de2b-4bd4-b0f0-9924a8f459a6",
    "timestamp": 1780873850705
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "cf2d020b-b125-4a20-8694-8ed0f7acf755",
    "timestamp": 1780873850708
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873850708
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "cf2d020b-b125-4a20-8694-8ed0f7acf755",
    "timestamp": 1780873850708
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "41bfceff-0155-4643-be60-ee301e2d69e1",
    "timestamp": 1780873850712
  },
  {
    "data": {
      "service": "smtp",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780873850712
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "smtp",
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780873851213
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "41bfceff-0155-4643-be60-ee301e2d69e1",
    "timestamp": 1780873851213
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2aff581a-8b64-405c-b62f-74bf189fd7b1",
    "timestamp": 1780873851217
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873851217
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2aff581a-8b64-405c-b62f-74bf189fd7b1",
    "timestamp": 1780873851217
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "6e3f6df0-8924-47d9-855c-51205d19e86d",
    "timestamp": 1780873851219
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873851219
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "6e3f6df0-8924-47d9-855c-51205d19e86d",
    "timestamp": 1780873851219
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "37ac411b-4a74-44d1-917e-b07d1c9ca221",
    "timestamp": 1780873851224
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873851224
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "37ac411b-4a74-44d1-917e-b07d1c9ca221",
    "timestamp": 1780873851224
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "91edbac9-847b-4f31-a8dd-09418bd93642",
    "timestamp": 1780873851226
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873851226
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "91edbac9-847b-4f31-a8dd-09418bd93642",
    "timestamp": 1780873851226
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "1da0e72a-db97-4216-a1a5-038cebaf7e10",
    "timestamp": 1780873851228
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873851228
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "1da0e72a-db97-4216-a1a5-038cebaf7e10",
    "timestamp": 1780873851228
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "af2d6284-4c8f-4a07-b689-d0f55aaabd26",
    "timestamp": 1780873851231
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780873851231
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages/send",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780873851231
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.send",
    "nodeId": "integration",
    "timestamp": 1780873851908
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 677,
      "operation": "sendAndWait"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780873851908
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "af2d6284-4c8f-4a07-b689-d0f55aaabd26",
    "timestamp": 1780873851908
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "aaccc4a6-ce53-4813-8247-65bd1a9d5639",
    "timestamp": 1780873851913
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873851913
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "aaccc4a6-ce53-4813-8247-65bd1a9d5639",
    "timestamp": 1780873851913
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "b46de5d9-1a2e-4d28-930b-e18fb1d7876e",
    "timestamp": 1780873851917
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780873851917
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "b46de5d9-1a2e-4d28-930b-e18fb1d7876e",
    "timestamp": 1780873851917
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "36ce51c6-8ee1-4230-84c0-40e259eafb1a",
    "timestamp": 1780873851919
  },
  {
    "data": {
      "initialData": {
        "id": "12345abcde",
        "to": "team@example.com",
        "data": {
          "text": "Hello team,\n\nI hope this email finds you well.\n\nI'm writing to follow up on the Q3 marketing campaign performance. We've seen a significant increase in engagement on social media, but the conversion rates from our email newsletters are still lagging. I'd like to schedule a meeting next week to discuss potential strategies to improve this.\n\nPlease let me know your availability.\n\nBest regards,\nAlice"
        },
        "from": "alice.wonderland@example.com",
        "email": {
          "to": [
            {
              "name": "Team",
              "address": "team@example.com"
            }
          ],
          "date": "2023-10-27T10:00:00Z",
          "from": [
            {
              "name": "Alice Wonderland",
              "address": "alice.wonderland@example.com"
            }
          ],
          "subject": "Q3 Marketing Campaign Performance & Next Steps",
          "messageId": "<20231027100000.12345@mail.example.com>"
        },
        "subject": "Q3 Marketing Campaign Performance & Next Steps",
        "response": {
          "text": "This is a follow-up email regarding Q3 marketing campaign performance. The sender is requesting a meeting to discuss strategies for improving email newsletter conversion rates."
        },
        "textHtml": "<html><body><p>Hello team,</p><p>I hope this email finds you well.</p><p>I'm writing to follow up on the Q3 marketing campaign performance. We've seen a significant increase in engagement on social media, but the conversion rates from our email newsletters are still lagging. I'd like to schedule a meeting next week to discuss potential strategies to improve this.</p><p>Please let me know your availability.</p><p>Best regards,<br>Alice</p></body></html>"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780873851919
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "36ce51c6-8ee1-4230-84c0-40e259eafb1a",
    "timestamp": 1780873851919
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "21a0c991-65dc-483e-9b98-5cedaba7ae13",
    "timestamp": 1780873851922
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "unresolvable-url",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780873851922
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "21a0c991-65dc-483e-9b98-5cedaba7ae13",
    "timestamp": 1780873851922
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "9a048d7d-bcdf-40b7-b33a-94b811083eac",
    "timestamp": 1780873851925
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "unresolvable-url",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780873851925
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "9a048d7d-bcdf-40b7-b33a-94b811083eac",
    "timestamp": 1780873851925
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "db494d2d-5390-4f83-9b87-3409fef31a7d",
    "timestamp": 1780873851927
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780873851927
  },
  {
    "data": {
      "url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780873851927
  },
  {
    "data": {
      "status": 200
    },
    "event": "drive.read",
    "nodeId": "integration",
    "timestamp": 1780873852255
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 328,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780873852255
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "db494d2d-5390-4f83-9b87-3409fef31a7d",
    "timestamp": 1780873852255
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e30dbe6f-482e-47f9-b5b8-62c1113e6c8b",
    "timestamp": 1780873852258
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780873852258
  },
  {
    "data": {
      "url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780873852258
  },
  {
    "data": {
      "status": 200
    },
    "event": "drive.read",
    "nodeId": "integration",
    "timestamp": 1780873852710
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 452,
      "operation": "download"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780873852710
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e30dbe6f-482e-47f9-b5b8-62c1113e6c8b",
    "timestamp": 1780873852710
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "492d48d8-4997-4f04-902b-041da3210417",
    "timestamp": 1780873852711
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873852711
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "492d48d8-4997-4f04-902b-041da3210417",
    "timestamp": 1780873852711
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0cf45d10-3cbf-4eb6-ab30-11f264b3aa8d",
    "timestamp": 1780873852712
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873852712
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0cf45d10-3cbf-4eb6-ab30-11f264b3aa8d",
    "timestamp": 1780873852712
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "05f65120-ef31-4c67-ac18-e68a8353909c",
    "timestamp": 1780873852713
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873852713
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "05f65120-ef31-4c67-ac18-e68a8353909c",
    "timestamp": 1780873852713
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c15fd52f-b142-408e-af06-aeed10a1cf85",
    "timestamp": 1780873852715
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873852715
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c15fd52f-b142-408e-af06-aeed10a1cf85",
    "timestamp": 1780873852715
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "63097039-58cb-4e0f-9fb6-6bf868275519",
    "timestamp": 1780873852716
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873852716
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "63097039-58cb-4e0f-9fb6-6bf868275519",
    "timestamp": 1780873852716
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2468e643-013f-4925-ab35-c8ef4ee6eed2",
    "timestamp": 1780873852717
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780873852717
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2468e643-013f-4925-ab35-c8ef4ee6eed2",
    "timestamp": 1780873852717
  }
]