8
n8n 한국어amn8n.com

내 이메일 정리

중급

이것은IT Ops분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 Gmail, Merge, SplitOut, ScheduleTrigger 등의 노드를 사용하며. Gmail에서 스팸, 소셜, 프로모션 메일 자동 삭제

사전 요구사항
  • Google 계정 및 Gmail API 인증 정보

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "dI8MDIAVRPRIMA9K",
  "meta": {
    "instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c",
    "templateCredsSetupCompleted": true
  },
  "name": "Clean My Mail",
  "tags": [],
  "nodes": [
    {
      "id": "8a921410-15a0-4b0e-9104-19ffa1dd51d0",
      "name": "모든 메일 삭제",
      "type": "n8n-nodes-base.gmail",
      "position": [
        320,
        500
      ],
      "webhookId": "b1e6a886-f0ae-479a-a25c-37a6bd9b6c65",
      "parameters": {
        "messageId": "={{ $json.id }}",
        "operation": "delete"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "8p11S7abjY8KddB9",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "0b0fe192-6ead-4011-b469-79da8f8033ff",
      "name": "조정",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        120
      ],
      "parameters": {
        "width": 500,
        "height": 740,
        "content": "## 📧 Gmail Setup\n1. Make sure all Gmail nodes use valid and connected Gmail OAuth2 credentials.\n2. To delete different email categories, adjust the labels in each Gmail node:\n   - 'Get all SPAM emails' → label: SPAM\n   - 'Get all Social' → label: CATEGORY_SOCIAL\n   - 'Get all Promotions' → label: CATEGORY_PROMOTIONS\n"
      },
      "typeVersion": 1
    },
    {
      "id": "b4e2ca40-3850-478f-b78d-b6814353a68a",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        360
      ],
      "parameters": {
        "width": 360,
        "height": 240,
        "content": "## ⏰ Scheduled Trigger\n- This workflow runs automatically every 3 days.\n- You can change the interval in the \"Trigger Every Three Days\" node to suit your needs.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "25bb2611-3188-478b-ac6d-23ed621b4d50",
      "name": "스티커 메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        360
      ],
      "parameters": {
        "width": 420,
        "height": 240,
        "content": "## 🔀 Merge & Prepare IDs\n- The \"Merge\" node combines results from all three Gmail nodes (SPAM, Social, Promotions).\n- \"Split Out\" node splits the list so each email ID can be processed individually.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "1393ff41-bafd-437c-877f-be9e62c109c0",
      "name": "스티커 메모2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        300,
        360
      ],
      "parameters": {
        "width": 420,
        "height": 240,
        "content": "## 🗑️ Delete Emails\n- The \"Delete All Mails\" node deletes emails using their message IDs.\n- Double-check the labels in earlier steps to avoid accidentally deleting important emails.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "cbbbaf18-29e4-4a97-8614-3dfeeced42a7",
      "name": "3일마다 실행 (트리거)",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -960,
        500
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "daysInterval": 3
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ecc3647d-f81c-4605-8f66-2a47d20b7dde",
      "name": "스팸 이메일 가져오기",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -540,
        320
      ],
      "webhookId": "ab59faf5-0db2-4bd3-ac09-e59b5ef77a11",
      "parameters": {
        "filters": {
          "labelIds": [
            "SPAM"
          ]
        },
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "8p11S7abjY8KddB9",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1,
      "alwaysOutputData": true
    },
    {
      "id": "4a288d12-0fb4-44aa-9c41-242cae4f5dd6",
      "name": "소셜 이메일 가져오기",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -540,
        500
      ],
      "webhookId": "1ad90798-b252-4856-af51-744b645e2725",
      "parameters": {
        "filters": {
          "labelIds": [
            "CATEGORY_SOCIAL"
          ]
        },
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "8p11S7abjY8KddB9",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1,
      "alwaysOutputData": true
    },
    {
      "id": "f65f55af-3374-42fd-98fe-2cfd543077a5",
      "name": "프로모션 이메일 가져오기",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -540,
        680
      ],
      "webhookId": "0f24dcf5-dc5e-4395-a9ec-d0c17dbfeac0",
      "parameters": {
        "filters": {
          "labelIds": [
            "CATEGORY_PROMOTIONS"
          ]
        },
        "operation": "getAll",
        "returnAll": true
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "8p11S7abjY8KddB9",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1,
      "alwaysOutputData": true
    },
    {
      "id": "5b1f0245-960c-4c38-a3c9-8545f7838836",
      "name": "모든 가져온 이메일 결합",
      "type": "n8n-nodes-base.merge",
      "position": [
        -160,
        500
      ],
      "parameters": {
        "numberInputs": 3
      },
      "typeVersion": 3.1
    },
    {
      "id": "f97101f1-592e-4295-b3f1-a632a5a15551",
      "name": "이메일 ID 분할 (항목당 하나씩)",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        40,
        500
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "id"
      },
      "typeVersion": 1
    },
    {
      "id": "8d354e0a-0d21-4446-8b58-3d86eb5fbc8d",
      "name": "스티커 메모3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        700
      ],
      "parameters": {
        "color": 7,
        "width": 420,
        "height": 240,
        "content": "## ☕ Hey, this tool is totally free!\n\nIf you have any suggestions, feedback, or just wanna say hi — feel free to[reach out](https://khmuhtadin.com).\n\nWanna support my caffeine needs? [Buy me a coffee](https://buymeacoffee.com/khmuhtadin) ☕❤️\n\nThanks & happy automating!\n"
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "34278343-eec2-4602-90f8-60d4cfa3bc3f",
  "connections": {
    "8a921410-15a0-4b0e-9104-19ffa1dd51d0": {
      "main": [
        []
      ]
    },
    "ecc3647d-f81c-4605-8f66-2a47d20b7dde": {
      "main": [
        [
          {
            "node": "5b1f0245-960c-4c38-a3c9-8545f7838836",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4a288d12-0fb4-44aa-9c41-242cae4f5dd6": {
      "main": [
        [
          {
            "node": "5b1f0245-960c-4c38-a3c9-8545f7838836",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "f65f55af-3374-42fd-98fe-2cfd543077a5": {
      "main": [
        [
          {
            "node": "5b1f0245-960c-4c38-a3c9-8545f7838836",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "5b1f0245-960c-4c38-a3c9-8545f7838836": {
      "main": [
        [
          {
            "node": "f97101f1-592e-4295-b3f1-a632a5a15551",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cbbbaf18-29e4-4a97-8614-3dfeeced42a7": {
      "main": [
        [
          {
            "node": "ecc3647d-f81c-4605-8f66-2a47d20b7dde",
            "type": "main",
            "index": 0
          },
          {
            "node": "4a288d12-0fb4-44aa-9c41-242cae4f5dd6",
            "type": "main",
            "index": 0
          },
          {
            "node": "f65f55af-3374-42fd-98fe-2cfd543077a5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f97101f1-592e-4295-b3f1-a632a5a15551": {
      "main": [
        [
          {
            "node": "8a921410-15a0-4b0e-9104-19ffa1dd51d0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - IT 운영

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수12
카테고리1
노드 유형5
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34