framework for email templates for v2