I have an idea for a browser extension that will add a context menu to the forwarding button in Gmail that will allow a user to select a language to translate an entire thread inside Gmail for forwarding to a foreign-language-speaking correspondent.
Time to learn how to do it.
My first Google search, “building Chrome extension with Python” yielded:
Hmm I can see where there’s a POST request being sent to a server running on localhost which will be the Flask hook in my project.
So that’s an interesting thought. Let’s do another google search: “gmail browser extension forward email github” and see what other existing projects have been undertaken that might be similar and easier to work from & combine.
The purple links are the ones that seem most interesting to me. I am going to take a look at each of them in turn.
He provides an extension to install to mess around with the API.
It looks like it gives us a very easy way to grab the email data for the currently open email thread.