Hi Forum, I am trying to querry my email inbox and import the data from those mails. This works fine so far if I tell a function node to look for a specific msg.topic.
node-red-node-email v1.12.3
But I am recieving a msg.object per mail in my inbox. Unfortunatly my javascripts skills are too bad to figure out how to access the first msg.object and save the information to variable1, going on to the next msg.object saving that information to variable2.
Hope someone can help me on track I guess its just the understanding of how those msg.objects can be addressed.
You probably will not need javascript for this task. You could filter the topic with a simple switch node connected to the email node and the outputs go to different paths based on the content of msg.topic