How to create email alerts and send SQL data

Hi, I have been working with Wireless Temperature and Humidity sensor module to detect the temperature of different buildings. I have sent data to node red dashboard by studying this Node-RED and the Wireless Enterprise Line. So I need some advice about what is the way to create email alerts and send data to SQL and xl using node-red. Any Leas will be a great help.