Coder Social home page Coder Social logo

email-tracker's Introduction

Email Tracker

Get notified when your email gets read by using a tracking pixel and a web server.

How it works

We send an email with a 1x1 transparent tracking pixel in it. When the receiver opens the email. their browser will send a GET request to our server, which will process this and send us a text message alert that our email was opened.

How to DIY

1. Setup

  1. Setup your webserver with Amazon AWS and nginx: https://medium.com/@nathan_149/install-nginx-on-amazon-ec2-in-5-minutes-get-a-web-server-up-and-running-3516fd06b76
  2. Download this git repo

2. Twilio

On the webserver:

  1. Make a Twilio account

  2. In shell, edit env varliables with:

    export TWILIO_ACCOUNT_SID="YOUR_SID"

    export TWILIO_ACCOUNT_AUTH="YOUR_AUTH"

based on your respective SID and AUTH from Twilio

3. Server Listener

On the web server:

  1. Edit TO_NUM and FROM_NUM variables to be your to and from numbers.

  2. Compile listener with:

    javac -cp .:twilio-8.9.0-jar-with-dependencies.jar EmailTracker.java

  3. Run listener on port 10008 (up to you) with:

    java -cp .:twilio-8.9.0-jar-with-dependencies.jar EmailTracker 10008

4. Send email

On any device:

  1. Fill in credentials in cred.py
  2. Change the LINK of the tracking pixel to be your server's IP address
  3. Edit email subject and text
  4. Send the email by running python3 send_email.py

5. Done!

Now when the receiver opens the email, you'll get a text letting you know that it was opened!

Chrome Extension

If you want to track your emails, you can also use this free Chrome extension: https://chrome.google.com/webstore/detail/email-tracker/bnompdfnhdbgdaoanapncknhmckenfog

email-tracker's People

Contributors

nang-dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.