Mailer: updated notemailer calls to new api
lint fix