Added template engine for emails.