Added initial program structure and data loading
Template replace logic, item condition checking, error handling
Refactoring, bugfixes
Implemented sending email, added debug messages, bugfixes
Added ability to put placeholders in email subject