1
votes

I used the gmail api to create an email draft and composed it with an uri where the messageId was included directly to the browser. Also I've read an email content by reading the specific email uri. These uris looked like https://mail.google.com/mail/u/0/#inbox/1678b2980327a67e.

But with the new gmail design the messageId has changed and with the actual gmail api version there is no way to get these new messageIds. The new uris look like https://mail.google.com/mail/u/0/#inbox/KfcrxvzLTCBApkvlFsCKLHbsGrZhGjv

Is there a workaround for this problem or is there something planned for the future?

1
I need a solution for c# and not for rubyCafer Kahveci
The duplicate link I sent above is language-agnostic.payne

1 Answers

0
votes

I couldn't find a way to encode/decode the gmail URL thread id.

However, you can search by rfc22msgid then get the thread id using the gmail api.

Step by step example: