ADD: WIP Add template editor for email templates. Not finished yet!