I'm trying to find a way how to display message in gmail (using its gui) using url and messageID passed somewhere maybe in query string. I think it should look like this. https://mail.google.com/mail/?shva=1#inbox/messageID I know that each message has a unique url for example : https://mail.google.com/mail/?shva=1#inbox/132aa50e42798b61 - but I do not know how to programatically determine the identifier 132aa50e42798b61. What Im doing is retrieving messages list via Javax.mail - but I do not want to retrieve the entire content of mail message using java- I'd rather prefer to use gmail gui to display selected message.
If anyone has an idea how to display message in gmail using messageID or another identifier which is a part of message, please help.