This may be a little help for a solution.
We use Postie, a command-line email program, to automatically issue an email message which is a warning message for high temperature situation in a Scada temperature monitoring application running under Windows. i.e. as soon as a setpoint temperature is reached, an automatic email issues a pre-set message to a number of recipients.
I understand it can also be configured to send an attachment file.
More info on it here
Infradig Systems - Postie