about a month ago i was trying to figure out a way to get intuitive ai filtering on my gmail without full labeling integration. with help from claude i worked out a system where claude can auto draft my email responses, and enter a little code for the appropriate label in the top of the draft..... then a Google Apps Script trigger runs every five minutes to read the code, apply the matching label to the parent thread, archive it and delete the draft.
This system ran cleanly for weeks, but this morning an upgrade removed threadId from create_draft, so drafts now land as standalone messages rather than threaded replies.
Did anyone on here have a similar workaround? any recommendations? i think im going to have to resort to a third party MCP, but would prefer not to as im being overly cautious of vulnerabilities right now.
Thanks so much! - Robert
Good luck!
PS Asked Claude?