Updated Emailer to be more Nodey