Thanks for reaching out!
As per your requirement to send messages in teams, you can use below endpoint,
POST /chats/{chat-id}/messages
You can refer more on this link for sending messages in teams.
The Graph API request for sending the mail should be in the below manner:
POST https://graph.microsoft.com/v1.0/users/ {id | userPrincipalName}/sendMail
POST https://graph.microsoft.com/v1.0/me/sendMail
Reference link: Send Mail
As per the screenshot, you need to consent to the required permissions as per your request.
For sending mail, consent to "Mail.Send
".
For additional Information, you can refer this link.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment."