When looking at a GMail message, the URL used to simply contain the message ID that I could then easily query with the GMail API.
E.g. when looking at an email, the URL was something like
https://mail.google.com/mail/u/1/#inbox/167d7bc198aa3059
This was convenient for development and debugging problems with specific emails. I could just make a call to get_user_message with 167d7bc198aa3059
But now, the same URL is expressed like this:
https://mail.google.com/mail/u/1/#inbox/WhctKJVJZkbrQVvLJqnhlZMQRckHrPbrhZMXXWzVswzckGCcRjQSZzjsPwcfhsDNXsFTDTG
How can I find back the message Id to query on my API from the new GMail URL format?
Or is there a simple encoding/decoding that transforms
WhctKJVJZkbrQVvLJqnhlZMQRckHrPbrhZMXXWzVswzckGCcRjQSZzjsPwcfhsDNXsFTDTG
into
167d7bc198aa3059
?
