{
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -672,
        -368
      ],
      "id": "c32f51bb-4fb2-44e0-bc54-7cdc1b1c648b",
      "name": "When clicking \u2018Execute workflow\u2019"
    },
    {
      "parameters": {
        "fileSelector": "/data/shared/n8n.png",
        "options": {}
      },
      "type": "n8n-nodes-base.readWriteFile",
      "typeVersion": 1,
      "position": [
        -464,
        -368
      ],
      "id": "2a885b5b-d6d7-49a1-9096-2ff58b63bd2e",
      "name": "Read/Write Files from Disk"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "8156539f-bc74-4e21-b2ef-d6ca5ca75f5e",
              "name": "message",
              "value": "Hello!",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        -256,
        -368
      ],
      "id": "5349abfb-69b4-4a6e-a156-049490d9f484",
      "name": "Edit Fields"
    },
    {
      "parameters": {
        "fromEmail": "jabbson@gmail.com",
        "toEmail": "jabbson@gmail.com",
        "subject": "test",
        "html": "={{ $json.message }}",
        "options": {
          "attachments": "={{ $('Read/Write Files from Disk').item.binary.data }}"
        }
      },
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [
        -48,
        -368
      ],
      "id": "865439ac-1f0f-4adc-9863-db8f488bb00a",
      "name": "Send email",
      "credentials": {
        "smtp": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Read/Write Files from Disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read/Write Files from Disk": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Send email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "templateCredsSetupCompleted": true
  }
}