Code changes for Email Connector Plug-In

Code changes in 2 files "class\Subscriptions.cs" and
"class\TemplateUtils.cs" to make it adaptable to "Email Connector"
Plug-In