add state machine in
using new plugin for sending email
add from in notify emails