FIX: Delete unconfirmed emails first if available (PR #13046)

Users can end up with the same email both as secondary and unconfirmed. When they tried to delete the unconfirmed ones, the secondary one was deleted.

GitHub