How to save multiple email attachments with original filename?

Hello! TY for welcome :slight_smile: and answer!
Code works fine, but if I connecting to Function node Telegram node, I receiving double messages for each file.
image

Not problem for me, to connect Telegram to another node. But did it mean, that files writing on disk two times?