email-in node keeps getting the same email

116 views
Skip to first unread message

okapifr...@gmail.com

unread,
May 23, 2015, 4:35:27 PM5/23/15
to node...@googlegroups.com
Hi,

I'm trying to use the email-in node in a simple flow with GMail.
It get the last email sent, but it keeps getting it after the first time.

The doc says for email-in: "Repeatedly gets a single email from an IMAP server and forwards on as a msg if not already seen."

It seems the "if not already seen" part is not working. Or it's not set up properly for me.

I'm testing with a simple email-in node and a debug node, using node-RED 0.10.6

Any pointer to make the trigger work only each time the email is new?

Thanks,
-yves





Dave C-J

unread,
May 24, 2015, 7:17:51 AM5/24/15
to node...@googlegroups.com
Hi Yves,

Yes... This was spotted and fixed on the Git development repo - https://github.com/node-red/node-red/commit/1014abe92f809b19ab2e4b2745e6d14c69606e42 - and a couple of extra fixes just after that. So should be ok in v0.10.8 when released (hopefully fairly shortly).

But yes v0.10.6  does repeat send. 

okapifr...@gmail.com

unread,
May 24, 2015, 7:29:12 AM5/24/15
to node...@googlegroups.com
Great. Thanks!
-ys

okapifr...@gmail.com

unread,
May 28, 2015, 1:58:44 PM5/28/15
to node...@googlegroups.com
Is there a version where the e-mail-in works as expected?
I've tried v0.10.4 but it seems to have the same issue.

Thanks,
-yves

Dave C-J

unread,
May 28, 2015, 2:41:06 PM5/28/15
to node...@googlegroups.com
This will be released as v0.10.8 in the next week or two. Or you can manually get those two files if you need to.
(I would advise against getting the whole git download unless you are happy with running grunt to build the complete app)

okapifr...@gmail.com

unread,
May 28, 2015, 2:49:49 PM5/28/15
to node...@googlegroups.com
Thanks.
I'll try that.

Guy Morton

unread,
Aug 5, 2015, 3:04:11 AM8/5/15
to Node-RED
I've written an update to the email node that will retrieve all of your unseen emails and send them through as individual msgs to the rest of your flow. It also uses mimelib to properly decode quoted-printable emails. Let me know if you want it.
Reply all
Reply to author
Forward
0 new messages