Email Node and OAuth with M365

Hi @ebnerjoh

On the basis you have followed this guide (specifically for Office 365 users)
node-red-node-email (node) - Node-RED (nodered.org)

You can then use an OAuth2 node such as
node-red-contrib-oauth2 (node) - Node-RED (nodered.org)
This will return your token, and you pass said token into the email fetch node.

The email fetch node will use the path as specified below when sending your msg to the email fetch node, so the node knows where your access token is, in your msg.

image

So change if necessary.

1 Like