Gmail Filter Generator

How to Obtain the JSON File (Penn-Specific)

  1. Install the Penn Class List Scraper:
    • Download the Penn Class List Scraper Chrome extension ZIP file.
    • Open Chrome, go to chrome://extensions, enable "Developer mode" in the top-right, and drag & drop the ZIP file to install.
  2. Extract Your Class List Data:
    • Visit Courses@Penn, select "Class Lists", ensure "Show Pics" is checked, and choose your section.
    • Click the Penn Class List Scraper extension icon to extract data. Once done, it'll download a JSON file.
  3. Upload Your Data Here:
    • Click on the "Choose File" button below and select the downloaded JSON file.

How to Turn JSON into a Gmail Filter

1) Select a JSON file below and choose how you want the domain portion included (none, full, subdomain, or special "truncate if seas.upenn.edu").

2) Click Generate Filter to produce multiple from:( ... ) chunks, each limited to 900 characters to comply with Gmail’s search limit.

3) Copy and paste each chunk into Gmail’s search bar. Then Create filter as described in Gmail’s official documentation.