Workflow and Automation
Take a look at civirules, with the email api extension also enabled so that the action of sending an email is available. That might get you partly there. You can set rules for when events change or activities are added, which could trigger your email.