Email Tracker

What is it?

EmailTracker is a program that allows you to find out info about someone you email.

Some of the info that the script can find out

  • Was the email read
  • When was the email read
  • What OS was used to view your email
  • IP Address of email recipient

How does it work?

The script is put on a web server which when run generates an image for you to put in your email.  When the email recipient opens the email, their email client will go download the image off of your server.  When the email client hits the server the transaction is logged giving you their device fingerprint, which gives you info like, what time was the email opened, what OS was used etc.

Current Issues

If the email recipient does not allow images to be downloaded, than this program will not work.

Currently the script just returns the device fingerprint.  I would like to make the info a little bit more readable, maybe break up all the important info first into rows.

You currently have to create an html email, meaning you have to paste the raw html “code” into your email client and let it render it for you.

This software was not coded by angels – may have bugs.



How to use

What is needed

  1. Access to a webserver and Apache access logs
  2. emailtracker.tgz which contains the script and an blank image

Setting up and running the program

Download emailtracker.tgz and then upload to your server.

Extract the tarball

tar zxvf emailtracker.tgz

cd into the directory and chmod it

cd emailtracker && chmod +x

Edit the first part of the script and change “webdir”, “logread”, and “domain” to your web directory, Apache access log, and your website domain name i.e. “”.

# Change these as needed

now launch the script


The script will give some html code to insert into your email

now create a new email with the html “code” and send it.  Now wait for the recipient to open the email…

When the email is opened will print the info on the screen and log it down in emailtracker.log and exit.



All the below commands are executed on the webserver.

Download script


extract and set the right permissions

tar zxvf emailtracker.tgz && cd emailtracker/
chmod +x

Edit variables in script.

# Change these as needed

Run script

Email tracker has started.
Insert the following into your email...  BTW, make sure your sending an HTML email or it will not work.


Monitoring website log
HIT! - - [30/Oct/2015:23:00:21 -0000] "GET /home/123213-2222.png HTTP/1" 404 - "-" "Chrome/1.0 (OS X 10.11) Gecko/12331244 chrome/12.0"

Your Email was read at : [30/Oct/2015:23:00:21
IP Address of recipient:
If you need anything else check the log. [~/dev]#


Leave a Reply