Fix unexpected NO_EMAILS error for /api/update when users remove their email.

For /api/update, fix unexpected NO_EMAILS error when users remove their email.