Modified the email notifier to change the emai's subject line according to the type of notification