TreeSwipe is a Chrome extension that allows users to read and quickly label their Gmail inbox emails using a decision tree.
- Decide on how many email threads to review
- Display preview text of threads, one thread at a time
- Answer decision tree type questions regarding each thread
- Apply labels to threads depending on question answers
- Click on the TreeSwipe icon in the Chrome toolbar.
- Select how many threads to review
- A preview of an email thread in your inbox will be displayed.
- Click on the buttons to answer no, yes, apply labels, or redo
- Repeat steps 1-4 as desired
This extension requires the following permissions:
tabs
: To interact with the browser tabsstorage
: To store user datahttps://www.googleapis.com/auth/gmail.modify
: To read emails and add/remove labels from themhttps://www.googleapis.com/auth/gmail.labels
: To manage (read and create) labelsidentity
: To authenticate the useractiveTab
: To interact with the currently active tab
This extension is developed using the Chrome Extension API. The manifest.json
file contains the metadata for the extension. The popup.html
file is the UI for the extension, and the popup.js
and background.js
files contain the main logic for the extension.
Please note that accessing a user's Gmail inbox requires user consent and adherence to Google's API usage policies.