Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burggraf/supabase-mailer
Send and track email from Supabase / PostgreSQL using a Transactional Email Provider
https://github.com/burggraf/supabase-mailer
Last synced: about 4 hours ago
JSON representation
Send and track email from Supabase / PostgreSQL using a Transactional Email Provider
- Host: GitHub
- URL: https://github.com/burggraf/supabase-mailer
- Owner: burggraf
- Created: 2021-08-17T14:42:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-17T19:13:43.000Z (about 1 year ago)
- Last Synced: 2024-11-12T12:11:00.189Z (2 months ago)
- Language: PLpgSQL
- Size: 44.9 KB
- Stars: 199
- Watchers: 6
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome-list - supabase-mailer
README
# supabase-mailer
Send and track email from Supabase / PostgreSQL using a Transactional Email Provider (Mailgun, Sendgrid, Sendinblue, Mailjet, Mailersend)## Features
- Send an email message using the API of a Transactional Email Provider
- [Mailgun](https://mailgun.com)
- [Sendgrid](https://sendgrid.com)
- [Sendinblue](https://sendinblue.com)
- [Mailjet](https://mailjet.com)
- [Mailersend](https://mailersend.com)
- Create and store an outgoing email messages in a PostgreSQL table
- Send a `message` from the `messages` table using the API of your selected mail provider
- Webooks can track the status of your messages and update your `messages` table based on various events
- Mailgun
- Mailgun webhooks can be set up automatically using their API -- just call the PostgreSQL setup function
- Mailgun events:
- temporary_fail
- permanent_fail
- delivered
- opened
- clicked
- complained
- unsubscribed
- Other providers coming soon...## Requirements
- Supabase account (free tier is fine)
- Sending messages should work with any PostgreSQL database (no Supabase account required)
- Webhooks require a Supabase account so the webhooks have a server (Postgrest) to post event messages to
- A Transactional Email Provider account (most have a free tier available)
- supported providers: Mailgun, Sendgrid, Sendinblue, Mailjet## Setup for Mail Providers:
See: [Mailgun Setup](./Mail_Providers/Mailgun.md)
See: [Mailjet Setup](./Mail_Providers/Mailjet.md)
See: [Sendgrid Setup](./Mail_Providers/Sendgrid.md)
See: [Sendinblue Setup](./Mail_Providers/Sendinblue.md)
See: [Mailersend Setup](./Mail_Providers/Mailersend.md)