Hi Marcelo,
I understand that you want to send alerts to your "Outlook" mail whenever your alert conditions are met.
You can follow the below steps in order to send alerts through emails:
1.Navigate to "Apps" and create a "React".
2.Configure your "React" settings:
a. Condition Type: Choose "Numeric" since you're dealing with
current measurements.
b. Test Frequency: Select "On Data Insertion" to check the current
value each time a new data point is added.
c. Condition: Set the condition to trigger the alert. For example, if
you're storing the current measurement in "Field1", your condition
might be "Field1 > 5".
d. In the "Action" section, select the "MATLAB Analysis" and add the
code you want to execute to send email alerts when the condition is met.
One thing you should keep in mind is that ThingSpeak only sends email to the account owner.You can set up a rule in your email service to forward the messages to other users based on the subject line, which you can control in your ThingSpeak Alert.
You can refer to the following MATLAB Answer on how to write code in "MATLAB Analysis" to send email alerts:
Hope it helps!