EmailReadImap attachments are missing on Nextcloud node

Hi guys,

I want to use the EmailReadImap node to send my email attachments to one of my Nextcloud folders. The EmailReadImap node provides a “download attachment” toggle which saves the attachment as a binary file. My problem is that the Nextcloud node says:

"No binary data property “attachment_” does not exists on item!"

Here is the output of the IMAP Trigger

The output shows the binary data of the items.

The workflow

The output returned by the last node


[
{
"error": "No binary data property "attachment_" does not exists on item!"
},
{
"error": "No binary data property "attachment_" does not exists on item!"
},
{
"error": "No binary data property "attachment_" does not exists on item!"
}
] 

Running n8n via [Docker]:

Thanks,
René

Hi @renetheastronaut

I am guessing you need to put in the complete name not just the prefix. So for example “attachment_0”.

Hi @BramKnuever,

this would mean that only the first attachment would be uploaded, right?
How can I make sure all attachments will be uploaded?

I tested it with the “0”

This was the result message:

Thanks,
René

Hi @renetheastronaut

The screenshot shows it is finding the attachments now. So that seems to work.
I am not sure if you can use a wildcard or a list of binary items here. @jon might have an answer for you.
If you cannot, you will have to split the binary files received into separated items. Or loop through the possible options for each item.