Mostly implemented e-mail engine (without queueing) and message templating system, as a dry run for IHMS.