Access logged in user info from Polaris

Hi,
I’m building a contact form within an embedded Shopify app using Polaris, and I would like to have the email field pre-filled with the currently logged-in user’s email. Is it possible to do?
Thanks

Hi @WildData :waving_hand:

For shops on Plus/Advanced plans, your app can request the read_users access scope to fetch the StaffMember.email field. You can use the staffMember query here without specifying an ID to return the staff member making the query.

Hope that helps!

Thanks @Umiko
I’m still a bit confused about this part “The app must be installed on a Shopify Plus or Advanced store. Contact Shopify Support to enable this scope for your app.

It looks like I need to contact Shopify to apply this scope to my public app. And once this is done, I should be able to get access to whatever this scope provides after installing the app with the read_users scope but only for Plus/Advanced plans. If the app gets installed on non-Plus/Advanced stored then the data won’t be available but the app will still install without a problem. Is this correct?