AI-Powered Email Draft Generator via IMAP

f14a634c-e8d7-4e81-973d-37b2db75ab9f

Latency
7531ms
Cost
$0.0000
Tokens
0
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "93de4dad-70d6-4e16-b351-7c540c3a4bfa",
    "timestamp": 1780866341271
  },
  {
    "data": {
      "kind": "n8n-nodes-base.emailReadImap"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780866341271
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "93de4dad-70d6-4e16-b351-7c540c3a4bfa",
    "timestamp": 1780866341271
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "41e77a60-622f-426c-a50c-e0df03c53208",
    "timestamp": 1780866341272
  },
  {
    "data": {
      "inputKeys": [
        "primaryAccounts",
        "textPlain",
        "from",
        "subject",
        "metadata",
        "role",
        "draftsId",
        "username",
        "to-friendly",
        "to",
        "message",
        "id",
        "from.match",
        "message.content",
        "metadata.reply-to.match"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780866341272
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "41e77a60-622f-426c-a50c-e0df03c53208",
    "timestamp": 1780866341272
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "f9d1a529-1377-456b-8357-d37fb3fe74f9",
    "timestamp": 1780866341274
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780866341274
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780866341274
  },
  {
    "data": {
      "error": "Google Gemini API error (500): {\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "f9d1a529-1377-456b-8357-d37fb3fe74f9",
    "timestamp": 1780866345380
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "082d1828-72b1-48c0-8426-c8051c29f0db",
    "timestamp": 1780866345382
  },
  {
    "event": "fetching GET https://api.fastmail.com/jmap/session",
    "nodeId": "http",
    "timestamp": 1780866345382
  },
  {
    "data": {
      "url": "https://api.fastmail.com/jmap/session",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866345382
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "082d1828-72b1-48c0-8426-c8051c29f0db",
    "timestamp": 1780866346645
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "d7dc4c50-c8fc-4999-918d-5d357567ed14",
    "timestamp": 1780866346647
  },
  {
    "event": "fetching POST https://api.fastmail.com/jmap/api/",
    "nodeId": "http",
    "timestamp": 1780866346647
  },
  {
    "data": {
      "url": "https://api.fastmail.com/jmap/api/",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866346647
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "d7dc4c50-c8fc-4999-918d-5d357567ed14",
    "timestamp": 1780866347720
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "31be3c1c-f4c5-4309-92b3-2fd0a3fcecc6",
    "timestamp": 1780866347723
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1780866347723
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "31be3c1c-f4c5-4309-92b3-2fd0a3fcecc6",
    "timestamp": 1780866347723
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c421ddc9-b230-499c-a11d-a20a68d30c5b",
    "timestamp": 1780866347725
  },
  {
    "data": {
      "of": 1,
      "kept": 1
    },
    "event": "filter",
    "nodeId": "passthrough",
    "timestamp": 1780866347725
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c421ddc9-b230-499c-a11d-a20a68d30c5b",
    "timestamp": 1780866347725
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "f4ecb64a-c978-4aa3-943e-c4a7f0592b91",
    "timestamp": 1780866347727
  },
  {
    "data": {
      "inputKeys": [
        "0"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780866347727
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "f4ecb64a-c978-4aa3-943e-c4a7f0592b91",
    "timestamp": 1780866347727
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "ef19fde4-cf8c-4e19-912e-822611c18056",
    "timestamp": 1780866347729
  },
  {
    "event": "fetching POST https://api.fastmail.com/jmap/api/",
    "nodeId": "http",
    "timestamp": 1780866347729
  },
  {
    "data": {
      "url": "https://api.fastmail.com/jmap/api/",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866347729
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "ef19fde4-cf8c-4e19-912e-822611c18056",
    "timestamp": 1780866348802
  }
]