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

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