Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When importing a load of messages into Gmail they have all been marked as unread. I don't want to have to go through 15000 emails page by page to mark them as read, is there any way to do this in bulk?

share|improve this question

migrated from superuser.com Jul 17 '12 at 15:50

This question came from our site for computer enthusiasts and power users.

up vote 12 down vote accepted

Search for string before:date (date in format yyyy-mm-dd) and then choose More > Mark all as read.

Watch out: This will select also emails from this date! I.e. before:2012-07-12 will select email received before 12 July 2012, but also emails received on 12 July 2012.

share|improve this answer

Search your email with


And then select them all and mark as read


share|improve this answer

You could also use this Google script which automatically marks emails in any Gmail label (inbox also) as read when they become older than N days. Google script to mark old emails as read.

Please note that it is not a one time activity but rather a continuous "check and mark as read" script.

share|improve this answer
How do you do it if you want to apply this to ALL labels? – dan12345 Mar 24 at 10:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.