jav
function replyToThread() { var threads = GmailApp.search('subject:"Your Subject"'); if (threads.length > 0) { threads[0].reply("Your reply message here"); }
replyToThread() { var threads = GmailApp.search('subject:"Your Subject"'); if (threads.length > 0) { threads[0].reply("Your reply message here"); }