A GENERIC relation is not only the connection between note and email
Make sure that also other relations are handled correctly and really make sure, that the related object is a note.