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
Comments URL: https://news.ycombinator.com/item?id=41614976
Points: 1
# Comments: 1
Leave a Reply
You must be logged in to post a comment.