Hello,
I am trying to make a function which can generate (by chatgpt api) and send email (by graph api) on copilot studio, then launch the bot to Teams for the whole company's users.
My current problems are:
1. I used to use connector from power automate to make this function, however, whoever using this feature in the bot, the email sent from my email address not the users. Is this function possible to make?
2. So, I moved to graph api to make this function, I set up 'login manually' to get the 'user.accesstoken'. But the thing is this token is NOT the same accesstoken from Microsoft graph website, so it also not working.
Is anyone able to assist me? Really appreciate to any comments. I am currently new internship to my company, so all the tech workers don't have time to help me about that.