Dynamic Configuration of Email Credentials in Node-RED

Hello,

I am currently working on a project using Node-RED, where the goal is to send emails based on certain alarms. So far, everything is working fine. However, I would like to know if it is possible to populate the password, server, and user ID fields dynamically from msg.payload.

From the documentation, this does not seem to be mentioned, so I assume it might not be possible. Could you help me confirm this or suggest a solution?

Thank you in advance for your assistance, and have a great day.

Best regards,
Lagache Paul-Henri

Hi, can you tell us the node you are using.

Hello, the node I'm using is the node-red-node-email version 3.0.2, specifically the "e-mail" node.

It is not possible to dynamically set the configuration for that node. I don't know if there is another email node that will allow that.

1 Like

Take a look at this node node-red-node-email-variable (node) - Node-RED

2 Likes