Suppose a user has 3 accounts and one of them is in the app purchase account.
Then when this user purchases a product from my app, how can I know from which account the in app purchase happened?
Can I get the email id?
No this is impossible. Google does not give this information. You can know from where is user, user device model, or something like this, but not who is user!