1. Home
  2. Web
  3. Automatically find unanswered emails and add awaiting response label to them in gmai

Automatically Find Unanswered Emails And Add A Label To Them In Gmail

Email is, and probably will be for the foreseeable future, a major time hog in our lives, both personal and work. If sending emails or replying to old ones isn’t time consuming enough, you also have to keep track of which emails you sent have gone unanswered so you can send reminders and follow up on them. A week ago Google shared a script on its developer blog to tackle this very problem. The script checks your Sent folder for emails that you sent up to 7 days ago. All emails that you sent out but have not received a reply to are labeled ‘Awaiting Response’ so that it is easier for you to find them.

The script is simple to use; once you install it, click play and grant it permission the first time it is run. Once the script has run, visit the Sent folder in Gmail and you will see which of your emails have not been answered.


The basis for marking an email as ‘Awaiting response’ is that you were the last person, in an email conversation, to send a message and no reply from any of the recipients of that email was received. The script monitors the Sent box only but you can edit the script to monitor other inboxes, to increase the number of days to more than 7, and to exclude emails marked with a certain label. If you have the script check for unanswered emails older than seven days you risk the script slowing down.

In its unedited as-is form, the script does have one shortcoming; the basis for checking if an email went unanswered is who was the last person in the thread to reply to it. If it was you, then the email is marked as Awaiting response even if the conversation itself is over. The script also doesn’t have any triggers so you have to run it manually. You can set up a trigger for it easily though and have it run every day at a specific time. The script can still be run manually. The trigger just automates the process and keeps you from having to remember to do it.

time trigger


To increase the day limit for checking unanswered email, edit the value for the variable “var DAYS_TO_SEARCH = 7;”. To have the script only check for single emails that have not been replied to, and not emails in a thread, change the value of the variable “var SINGLE_MESSAGE_ONLY = true;” to True.

Get Awaiting Response Script Here

Via Google Apps Developer Blog



  1. As a business school adjunct, I get oooooooodles of emails daily and miss a bunch as a result. I desperately need a script (or maybe a process) that will isolate emails to me or cc’d me that have not been answered…. Surely I’m not the only person with this challenge?

  2. Hi,

    If I want to see the emails in which I am not the last sender. How would I do that?

    I am receiving emails on daily basis & sometimes i miss a couple. I want to see, the emails that are not replied by me?

  3. Quality content is the crucial to attract the viewers to
    visit the website, that’s what this web page is providing.

  4. If some one desires expert view on the topic of running a
    blog then i recommend him/her to pay a quick visit this weblog, Keep up the good job.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.