Passing notifications

Passing the notifications array to the low level mail functions so that the from guid is available for from address construction; fixed a typo in the hook call.