Hey, can some one tell me if there is email node can help me to move email from folder to another folder? I need a generic solution which works for any IMAP email server, not limited to Gmail, Outlook or any web hosting emails services. I did some research but I can not find such a n8n node for doing this. There was a community node implementation IMAP Email Node, but I can not get it working, n8n always doesn’t load it and I don’t see it is available even there is no error message in the log. Can some one help me to get it working? The package name is “n8n-nodes-imap”, and the node name is IMAP. Thanks a lot!
Providers have different ways of dealing with “folders”, older providers could still be using actual folders and moving data from place to place, while newer providers use database-like approach and the “folders” are just labels/tags, While IMAP commands for “moving” an email is going to be the same
COPYthe email to the target folder.STORE+\Deletedflag on the original.EXPUNGEto permanently remove it from the source folder.
some providers add custom extensions to work around certain protocol limitations and custom implementations of the protocol or its parts, which makes one unified solution … tricky.
That sounds exactly what I need. However, what n8n node type can provide these functions? What is the node name? Right now all I can find is the “Email Trigger (IMAP)” node, which only triggered when there is incoming email, it doesn’t have any function to copy/move emails.
You mentioned you tried to install n8n-nodes-imap community node and it didn’t work. Just tried and it appears to install fine and load for me:
Yes, just figured out, thanks! The lesson was never install using npm command, I tried the whole day still wasn’t able to succeed, but the GUI can do the installation in 2 minutes!
You are very welcome.
I just tried moving (re-labeling) the email in GMAIL, and it works too ![]()
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
