How to search mails in gmail with date range

To search for emails in Gmail with a specific date range, you can use the following methods:

Method 1: Using the "Search" bar

  1. Log in to your Gmail account.
  2. Click on the search bar at the top of the page.
  3. Type the following format: from: OR to: OR subject: <search term> before:<start date> after:<end date>
    • Replace <search term> with the keywords you want to search for (e.g., "project report").
    • Replace <start date> with the start date of your desired date range (e.g., "2022/01/01").
    • Replace <end date> with the end date of your desired date range (e.g., "2022/01/31").
  4. Press Enter to execute the search.

Example: from:john before:2022/01/01 after:2022/01/31

Method 2: Using the "Advanced Search" page

  1. Log in to your Gmail account.
  2. Click on the gear icon () in the upper right corner of the page.
  3. Select "See all settings" from the dropdown menu.
  4. Click on the "Filters and Blocked Addresses" tab.
  5. Click on the "Create a new filter" button.
  6. In the "From" field, enter the keywords you want to search for (e.g., "project report").
  7. In the "Has the words" field, enter the date range you want to search for (e.g., "before:2022/01/01 after:2022/01/31").
  8. Click on the "Create filter" button.
  9. Choose the action you want to take with the filtered emails (e.g., "Apply the label").

Method 3: Using the "Search" operator

  1. Log in to your Gmail account.
  2. Use the following search operator: search in:messages before:<start date> after:<end date> <search term>
    • Replace <search term> with the keywords you want to search for (e.g., "project report").
    • Replace <start date> with the start date of your desired date range (e.g., "2022/01/01").
    • Replace <end date> with the end date of your desired date range (e.g., "2022/01/31").
  3. Press Enter to execute the search.

Example: search in:messages before:2022/01/01 after:2022/01/31 project report

Note: You can also use the "has:attachment" operator to search for emails with attachments within a specific date range. For example: has:attachment before:2022/01/01 after:2022/01/31