EMM & Android Enterprise: obtain the enterprise binding email

Level 1.5: Cupcake


I would like to implement a feature for my EMM: after an IT admin creates an enterprise binding on the Google side and then they are redirected back to the EMM - is there a way for the EMM to know which Google account the IT admin just used for binding? It would be nice to attach this info to the enterprise's representation on the EMM side.

I think that this info is neither presented in the Android Management API https://developers.google.com/android/management/reference/rest/v1/enterprises#Enterprise
nor in the query parameters of the redirect.

One way for the EMM is to just ask the user to enter the email again on the EMM side. But it is prone to errors


Level 2.3: Gingerbread


This is not possible asking for the email after signup is a good idea. We also do that. However with the new enrolment flow, it should be easier to recover a lost account.