https://github.com/bernabe9/lambda-email-tracker
Lambda function to track opened emails
https://github.com/bernabe9/lambda-email-tracker
Last synced: about 1 year ago
JSON representation
Lambda function to track opened emails
- Host: GitHub
- URL: https://github.com/bernabe9/lambda-email-tracker
- Owner: bernabe9
- Created: 2020-02-22T15:33:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T21:09:43.000Z (over 5 years ago)
- Last Synced: 2024-12-27T00:09:59.598Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lambda Email Tracker
Lambda function to track opened emails
## Setup
1. Create a `config.yml` file in the root folder
2. Copy & paste the content from `config.example.yml` to `config.yml`
3. Replace the values with your data
4. Set up a webhook url to receive the notifications
## Deploy
1. Setup credentials for AWS lambda: https://serverless.com/framework/docs/providers/aws/guide/credentials/
2. Run `serverless deploy`
3. Configure API Gateway to support binary media types
4. Set up an image URL proxy whitelist: https://support.google.com/a/answer/3299041?hl=en
## Usage
Add an image in your email with the lambda's URL.
For example, https://my-lambda.us-east-1.amazonaws.com/dev/image.png?to=receiver_email@gmail.com
Note: The image will be invisible