Initial implementation of logging, email, caching, etc...