Add logging and saving templates to the database for historical accuracy.
...and patterns for how to do email stuff in the future.