Closed DainisVerdins closed 2 years ago
If I understand your question correctly, you don’t need gmailjs to do that.
You just need to open a new tab, with the email-ID in the url hash.
See the link-format for when sending emails and the link you get on “view email” after email is sent from a new compose.
@josteink I mean what I get from GMAIL API the id of needed email. I want it to open in separate window by for example btn click in my add-on. Is it possible?
I have never used the Gmail API, so I don't know what sort of IDs are used there and how they are compatible.
Experiment and see what you get working :)
@josteink Any ideas how to open in new window email in gmail? Assuming I know that email ID and URL?
Greetings. My add-on sends rest request to my server. In this server using GMAIL API (thru gmail.js) I am filling data to email(compose). Also server stores id's of emails what was sent. I want to open in separate window on btn press specific email. Is it possible using gmail.js if I know emails ID? (emails ID got thru gmail API)
Emails Could be in
Sent
orSchedule
folder. They are NOT drafts.