notify: fixed sendmail issues