I’m creating a Figma plugin in which I want to recommend the email by which the user is currently logged in with on Figma for further usage of the plugin.
I’ve tried using figma.currentUser but what it gives back is an object with the user’s id, name, color, photoUrl and sessionId. How can I get the email by which the user is logged in with?