--
Questions
--
Followers
Top Experts
SUBJECT:
Rename Email Subject - Google Chrome Browser Extension
BACKGROUND:
There is a Google Chrome browser extension created by CloudHQ called Rename Subject. With it you can rename the Subject Field of any email that arrives in your Gmail INBOX. (mail.google.com/mail/u/0/#inbox)
I am writing my own extension that will allow the account owner (me) to rename Gmail emails when using the Google Chrome browser. This will be a private, personal use extension.
PROBLEM:
Openai's ChatGPT tells me the Subject change will only be visible for the current, local copy of the browser. I confirmed this to be true. The change is not observed on my other device, nor after restarting the browser.
QUESTION:
How to implement this extension (Rename Email Subject) so the changes to the Subject field of emails remain persistent in my Gmail Inbox?
Is it possible to use the Google API for this purpose, to write to the server? If so, please tell me what instructions I can give to ChatGPT so it will implement generation of the code. 
ChatGPT says, “No, it's not possible”, but you can't always trust it. And of course CloudHQ has certainly overcome any barriers, and they figured out a way to implement it.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
unless it is in the play store you can't sync it. i.e. from phone/tablet to desktop chrome or another device chrome.
To load it at all you have to put chrome in developer mode since you need to side-load the app.
Hey Jerry,
I'd agree with ChatGPT and say this is impossible with a browser extension. A browser extension would allow you to modify what the browser is showing and it won't modify any data that is living on Googles servers.
I'd think the only way that you could change the subject of an email on the server would be through your email routing settings. Even through gmails routing I think you can only prepend a custom subject. However, you cannot remove or edit the subject that the email was sent with.
CloudHQ is making it work. Full Stop.
Prepending might work, but it would have to be AFTER I receive the email the first time. Not sure this will work, unless I'm sending it back to myself. But I need the original sender information for identification along with the subject. So, there may be workarounds, but not the same as CloudHQ's implementation. And… Prepending seems to be available to paid Google Workspace members only. << not sure about this.
I never confirmed whether CloudHQ's Rename Email Subject is persistent across devices, but I do know it is persistent on my Laptop when using Google Chrome Browser to access my Gmail accounts.
Since they are making it work, there is certainly an implementation. Can we figure out what that implementation is?
And they are using only a Browser Extension from the Chrome Web Store! They provide a trial for no charge, then they charge after that.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
You'll get access to email routing settings with google workspace, correct. You should confirm that CloudHQ's rename email subject extension does in fact change the subject of the email on the server because I think the change in subject is only visible locally. In the case they are actually modifying subjects and updating the server, it would have to be using the Gmail API.
CONFIRMED:
The emails being modified from my Laptop using CloudHQ are in fact visible on my other device in the Gmail app on my Android Smart Phone.
NOT CONFIRMED:
That observation may not confirm that the subject field has been modified on the Gmail server. But if not, then hard to say how it's being done.
NEW INFORMATION: 
I am new to creating Browser Extensions, and I've discovered where the extension code is stored on my hard drive. The ‘manifest.json’ file contains the ‘name’ variable which identifies the name of the extension which is otherwise buried in a folder whose name is a bunch of random characters.
KRoW - Because of your curiosity, you figured it out. I'll take a closer look at inboxSDK and use ChatGPT to help write the code. This is a whole new area for me. Thank you!
David - Always good to see you. Thank you for contributing.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
--
Questions
--
Followers
Top Experts
Google is an American multinational technology company specializing in Internet-related services and products that include online advertising technologies, search, cloud computing, software, and hardware.