yes, re reading you and your last post makes sense…
what you’re describing should not happen at all, you’d be able to switch from workgroup member to any other working mode retaining your users and email…
try to take a look at /var/log/messages for error and check your accounts db with
db accounts show | grep user
to check if your user account are still there (I’m quite sure they are)