Describe the problem/error/question
Dear community,
we are trying so send images as attachment using the smtp node. Unfortunatelly the attachments are not shown as valid attachments on receiver side. It works when using other binaries like e.g. zip files or pdfs. The problem only occurs when sending the email as html. When sending it as plain text it works as expected. The binary somehow seams to be within the mail, because the size of the mail matches the content including attachment.
Thanks for helping out.
What is the error message (if any)?
There are no error messages, email is send, but attachments are not seen on receiver side.
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
n8n version: 1.123.6
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
Operating system:
Hey @fwerkmeister !
Can you share an image age with the output of HTTP node and the SMTP how you configure and see the images there?
Somehow the file extension is not beeing passed further…
Cheers!
Hi @Parintele_Damaskin ,
thanks for having a look. Here are the screenshots:
HTTP Node Output:
Input of SMTP Node:
Configuration (Attachment)
Regards,
Felix
Hmmm… weird .
The receiiving mail clientt likkely formatting the image data using the content-disposition inline header instead of attachmentt…
Hi @Parintele_Damaskin ,
do you think this is a bug within the smtp node? Actually there’s not much to change from configuration or workflow side.
Hey @fwerkmeister !
If you tell me the client that is receiving the email(Google etc…) maybe I can try reproduce it as well.
Can you share the exact SMTP node with your configurations?
Cheers!
Hi @Parintele_Damaskin ,
the client is outlook. The email is send through an self hosted exchange server (I don’t have details, just got the connection params). But I just send the email to my gmail address and gmail obviously detects the attachment.
And here is the configuration of the “Send email” node.
Regards,
Felix
Then we are in the same boat in the ocean lol… and I can’t reproduce that.
But gmail seems to work OK, then the configuration for your specific case it doesn’t… sorry my friend, can’t help further …
Cheers!
Understood… Anyway, thanks for your help and merry christman
Sandai
February 6, 2026, 12:01pm
10
I have the same issue. The culprit is this:
Content-ID:
Content-Disposition: inline;
If the Content-ID is removed and the Content-Disposition is set to attachment it works. I found this open issue on github:
opened 03:29PM - 14 Jan 26 UTC
team:nodes
status:in-linear
status:team-assigned
### Bug Description
Send email node always marks images as inline attachments, … regardless of whether they are referenced in the body of the message or not, and it is not possible to alter this behavior. Microsoft Exchange server leaves them in the message body, but MS Outlook or OWA clients do not display them.
### To Reproduce
Create binary data (f.e. jpeg image) with appropriate MimeType image/jpeg and name xxx.jpg.
Add them to attachment in Send email node.
### Expected behavior
Either explicitly allow the option to choose which ones should or should not be inline, or better yet, automatically scan the body of the message and mark only those that are referenced.
### Debug Info
# Debug info
## core
- n8nVersion: 2.4.0
- platform: docker (self-hosted)
- nodeJsVersion: 22.21.1
- nodeEnv: production
- database: postgres
- executionMode: regular
- concurrency: -1
- license: enterprise (production)
- consumerId: 8ea44fd2-1f36-4b14-b6e1-f03ce5102bd7
## storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: filesystem
## pruning
- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions
## client
- userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/143.0.0.0 safari/537.36 edg/143.0.0.0
- isTouchDevice: false
Generated at: 2026-01-14T15:27:30.137Z
### Operating System
Ubuntu 24.04
### n8n Version
2.4.0
### Node.js Version
22.21.1
### Database
PostgreSQL
### Execution mode
main (default)
### Hosting
self hosted