How to send an email to an O365 Group as a different user with Graph API? - outlook

I want to send an email to an Office365 Group using Graph API. My issue is that all the emails are sent from the user I am using to generate the token. This is expected as the API endpoint only supports User tokens (Delegated permissions) as described here.
https://learn.microsoft.com/en-us/graph/api/conversation-post-threads?view=graph-rest-1.0&tabs=csharp
Is there any way I can use Graph API to send an email to an O365 Group as another user? I know this is possible when sending an email to a regular user (https://learn.microsoft.com/en-us/graph/outlook-send-mail-from-other-user), but not sure how to do it with O365 Groups.
Thanks!

I guess this is not possible, unfortunately. You have to use EWS.

Related

Read Emails Sent To A Google Group

I have a use case where I need to read emails sent to a Google group.
Is this possible via the Gmail API?
I have created a google dev account and attempted this with no luck.

Outlook Graph API not receiving groups

What I am trying to achieve -
When I call message API, it returns the group address to which mail is sent, I want to get the members of the group, And for that I believe I need group Id, so I am using the groups API mentioned below https://graph.microsoft.com/v1.0/groups
But this API returns an empty list to me.
Note: email I using is #outlook.com, not xyz.com.
The Microsoft graph API doesn't support personal accounts as you can see the below image. You should have a Work account to get the group details. You were able to get the messages because it supports personal accounts to read messages from your mailbox.

Outlook Graph email API: Threaded Email Conversations

I have an application that I have to integrate with the outlook via Graph API. I need to retrieve the conversations which I am getting using the Graph Mail API. But the graph API is not able to return the object of the email in the form of threads(like that of a conversation thread between two email ids). Also, there is no field in the object that can specify to which thread a particular email belongs so that I can group them in my app.
Is there any way I can achieve the same.
Honestly, I think there is some severe lack of documentation on this everyday use case.
The solution it seems is to filter your messages by the conversationId.
See this answer: https://stackoverflow.com/a/63570384/2591194.

Is it possible to use a GSuite group mail id as an alias to send mails using Gmail API?

My use case is to send mails from a GCP Compute Instance through its default service account with the sender as my GSuite group email which I have created for our business domain.
Could you please let me know if it is really possible to use that GSuite group email as a sender?
Thanks in advance

Is there an API to get e-mail smtp information (for GMail)

I want to send an e-mail using gmail API.
I want to know if the email was received successfully. And if not, what the problem. (Such as SMTP Log)
I can use Google Admin G-Suite if need.
How can I do it?
Thank you.
What you are looking for is Request read receipt after an email is sent. This would notify the sender when the recipient reads the email.
This is not something that is currently available in the gmail api. you may want to consider submitting a feature request here

Resources