The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"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
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
smtp
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Inline. Uses readWriteFile, emailSend. Event-driven trigger; 4 nodes.
Source: https://community.n8n.io/t/email-attachments-not-sending-via-smtp-node-in-n8n-2-3-0-self-hosted/309749 — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Perfect for disaster recovery or migrating between environments, this workflow automatically identifies your most recent FTP backup and provides a manual restore capability that intelligently excludes
Community Node Disclaimer: This workflow uses KlickTipp community nodes.
company manager. Uses localFileTrigger, readWriteFile, @packitoo/n8n-nodes-hipe. Event-driven trigger; 9 nodes.
project manager. Uses localFileTrigger, readWriteFile, @packitoo/n8n-nodes-hipe. Event-driven trigger; 9 nodes.
Protect Pdf With The Password Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 7 nodes.