actually deliver the mail about new note been added

fix [b3cfca2572fc7c679d924a5107ea5df8b7ce80e6]
move potential to its own scope

fix [34eb1126920d0e84eb3c52c06d79d1a6af38deb7]