Show HN: Inbound Email (SMTP) to Webhook

github.com

3 points by martinkrivosija 2 days ago

Here's my first (hopefully of many) open source release. A minimal script to receive emails via SMTP, parse content (including headers), store attachments in Amazon S3, and forward email content to a webhook.

I use it to power DMARC report storage and email content testing.

Some of the big email API providers have inbound APIs but costs can rack up fast if you're using them at scale. Hence why I built this.

https://github.com/sendbetter/inbound-email

Features - SMTP server to receive emails concurrently

- Parses incoming emails using mailparser

- Uploads attachments to Amazon S3

- Forwards parsed email content to a specified webhook

- Configurable via environment variables

- Handles large attachments gracefully

- Queue system for processing multiple emails and webhook requests simultaneously

xeornet 2 days ago

Useful, we're paying Sendgrid close to $500/month for inbound parse.