i want to develop office app and i want to sync email from outlook to Google account. then,
which scope i use?
how to pass email data to URL and on which URL?
if possible to give me example
i use this two scope for authentication or to get user info.
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo.email
i refer this stack overflow link : link
another question is i can migrate email to example@gmail.com(gmail account)? i use a Google playground to check email migrate scope then it give error to invalid access of API and it proper work if i use example@domain.com to migrate email.