Skip to content

Instantly share code, notes, and snippets.

@Garv767
Created October 6, 2025 23:40
Show Gist options
  • Select an option

  • Save Garv767/f1606a6a357b1159d87b7332699d9d52 to your computer and use it in GitHub Desktop.

Select an option

Save Garv767/f1606a6a357b1159d87b7332699d9d52 to your computer and use it in GitHub Desktop.

Privacy Policy for isSpam Chrome Extension

This Privacy Policy describes how the isSpam Chrome extension ("the Extension") handles information. The Extension is designed to classify the content of an open email message as spam or safe (ham) by utilizing a custom Machine Learning API.

1. Data Collected and Processed

The isSpam extension processes data only when the user explicitly clicks the "Analyze Email" extension icon.

Information Processed

When the Extension is activated:

  • Email Body Text: The Extension extracts the text content of the currently open email message. This is the only user-generated content that is processed.

Purpose of Processing

The extracted Email Body Text is used for the sole purpose of being sent to an external, private Machine Learning API service for classification as "Spam" or "Ham."

Third-Party Data Sharing (API)

  • API Endpoint: The Email Body Text is securely transmitted via a JSON POST request to the following external API endpoint: https://isspam-ys1h.onrender.com/predict.
  • API Function: This API is owned and operated by the developer of the isSpam extension. It processes the text to return a prediction result (a classification of 0 for Ham or 1 for Spam).
  • Data Retention: The API service is configured not to store the contents of the email body text sent for prediction. The text is processed in-memory and immediately discarded after the classification result is generated.

2. No Personally Identifiable Information (PII) Stored

The isSpam extension does not:

  • Collect, store, or transmit any Personally Identifiable Information (PII) from the user (such as email addresses, IP addresses, names, or location data).
  • Store the classified text or the prediction result locally on the user's computer or on any external server.
  • Track user activity outside of the classification process initiated by the user's explicit click.

3. Permissions Used

The permissions requested by the Extension are necessary for its stated function:

  • activeTab: Allows the extension to interact with the currently active browser tab to perform extraction and display.
  • scripting: Allows the extension to inject content.js into the webpage to extract email text and display the classification result.
  • host_permissions: Explicitly permits secure communication with the external classification API (https://isspam-ys1h.onrender.com/*).

4. Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page. You are advised to review this Privacy Policy periodically for any changes.

5. Contact Information

If you have any questions about this Privacy Policy, please contact the developer via the support email provided on the Chrome Web Store listing.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment