fix new note mails feature breaking mail delivery. Also don’t record debug mails