Message.LabelIds does not attach my label to the message
See original GitHub issueAfter sending a message using the Gmail API, I’ve noticed that the label I created was not being attached to the message. I created the label using the Gmail API in C# and saved the label.Id in my database for later use. The ID was something like “Label_29” even though the name of the label was something else. I added “Label_29” to my message.LabelIds
list before sending the message, but the label was not added to the message. Even after replying the the message and seeing the reply, I did not see the desired label attached to the message within Gmail. Should I be using the LabelId or the label Name within the LabelIds list?
I will note that I sent the message via Google BatchRequest in C#, if that makes any difference.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Create labels to organize Gmail - Computer
Label messages in your inbox · On your computer, go to Gmail. · Select the messages. · At the top, click Labels. ·...
Read more >Apply attachment's sensitivity label to Outlook message
Apply attachment's sensitivity label to Outlook message. We're using Sensitivity Labels to classify content in our organization.
Read more >Labels not showing up in message list - Gmail Community
Yes, all the labels are set to show in both the label list and the message list. I have checked this in both...
Read more >How to use Gmail labels to tame your inbox
On the Gmail desktop website, the easiest way to create a label is to click the label icon in the toolbar at the...
Read more >How to use Gmail Labels - Tutorial for Beginners (2022)
Using labels in Gmail is a great way to organize email in your inbox. ... the color of labels 02:57 Adding labels to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you’d like to stay in the loop, I submitted the issue https://issuetracker.google.com/issues/169874640
Thank you for your help. I will try to get in touch with the Gmail API team.