If I'm writing a nextjs API route and want to check if some email addresses are already registered, and if not, send an email, which methods are most suitable?
I see there's a listUsers method on auth.api, which looks promising maybe?
If I use generateLink or inviteUserByEmail, do I (can I?) receive their (new) user ID immediately?