Fixed bug trying to send an email with empty notes

If the notes are empty we just don't send an email