But is it not that the whole thread has same id? I was trying to send myself a text message everytime I get a certain status email. Problem was that all emails had same subject. I was using Google Apps Script. I ended up marking each email processed's arrival date & time when processed; & later skip all whose date time already exists in sheet.