I'm having an issue hopefully you would be able to help.
I am trying to flag an email as starred. This works fine using the FlagMessageByUID(myUID, Flag.Flagged) method.
The problem is that I cannot find a method for removing this flag. I have tried with FlagMessageByUID(myUID, Flag.Unflagged), but this doesn’t seem to remove the flag and the email remains starred in Gmail.
Looking forward to your feedback.