SMTP server to receive notifications from devices that send mail

I have a device that sends email notifications to a configured smtp server.

I would like like Node-RED to handle this more like a webhook, where it receives the email from the device and passes the contents to the next node.

Possible?

maybe - see the email-mta node.

It works! I would prefer if it could be done with authentication though...

By the way, for others that find this thread, it took a while to find that node - it is in node-red-node-email