Conditional Alerts
add AlertConditional
same as most other run conditionals, but it only triggers an AlertEvent
Other plugins, e.g. EmailPlugin, should add handlers for the AlertEvent. When event fired email plugin will send alert as an email. the AlertEvent context contains the subject, body and recipients
Currently the conditionals are stateless. they only now about the current state. So evaluating conditionals such as "cancel if last n Ar40 blanks > X" is not possible.
Any alert conditional might be "last n ages < 0" some mechanism for evaluating such conditionals is required
I started a StatefullConditional. It currently is non functional. more work is needed to incorporate with experiment.
State can be loaded and dumped. But the state is currently not defined and is just None