May be late but you might want to do this since the accepted answer didn't work for me.
This is how you should change your where input:
AND: [
yourWhereInput,
{
OR: [
{ email: null },
{ email: { isSet: false } }
]
}
]