Adds a new mailer handler which supports contacts and subscribers

This commit adds a new mailer (based on the original mailer handler) which supports contacts with specific subscribers.
Contacts will only receive notifications if any of their subscribers matches with any subscribers in an event's check.