update emailNotification TO only when static

PS-877 #time 4h
in emailNotification template - check for name in TO field
retrieve email recipient details in case no object or static one
remove redundant static object check
Merge pull request #869 from kaltura/IX-9.11.0-PS-877

update emailNotification TO only when static