Send Email Alerts upon event
I am looking for a way to setup the M5 to send an email alerts when a button is pressed, or an analog value has hit a threshold, etc.
Is there a way to set this up ?
https://playground.arduino.cc/code/email will show how to use SMTP to send mail, if you have an SMTP server that accepts mail from your IP number.
I would recommend using Blynk. It has email and push notifications built into their platform and should be pretty easy to do using the Arduino IDE.