I need to open in new window desired email. I found the solution click how to open desired email by URL, but have problem. If someone replied to that email it shows not only desired email but also whole thread.
I know of that desired email threadId and messageId.
Example of code
const message = encodeURIComponent(`#${conversationId}|${messageId}`);
const url = `https://mail.google.com/mail/u/0/#all/${message}`;
const windowHeight = '540';
const windowWidth = '960';
window.open(url, '_blank', `location=yes,height=${windowHeight},width=${windowWidth},scrollbars=yes,status=yes`);
How looks like the problem if someone replied to desired email.

Any ideas How to open exatly desired email? For example by URL?