Email Node and OAuth with M365


I want to check emails with the Email Node on a M365 Mailbox.
the Email Node should support it, but I was not able to find a "Starter" Document on how the OAuth flow could be done.


Hi @ebnerjoh

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

You can then use an OAuth2 node such as
node-red-contrib-oauth2 (node) - Node-RED (
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.


So change if necessary.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.