that is the user id of the recipient of the mail.
Make enotify pass it to Emailer::send()
* @param htmlVersion html version of the message
* @param textVersion text only version of the message
* @param additionalMailHeader additions to the smtp mail header
+ * @param optional uid user id of the destination user
*/
static public function send($params) {
// use the Emailer class to send the message
return Emailer::send(array(
+ 'uid' => $params['uid'],
'fromName' => $sender_name,
'fromEmail' => $sender_email,
'replyTo' => $sender_email,