I am working on a Chrome extension for Gmail. I want to obtain the "Message ID" in my extension before the email is sent or just after email is sent. How can I achieve it?
How is message id generated in Gmail?
Is it generated before sending an email or later?
Note: I am not overriding the email functionality. I just need the unique emailID when email is sent in Gmail.
I want to pass this email ID in a request to Gmail API so that I can get the email data as response.