A lightweight, developer-friendly SMTP server built in Go that accepts incoming emails, parses them into structured data (JSON-like), and allows any software to consume or process the email content easily.
Ideal for use cases like:
- Internal tools needing email intake
- Automated systems (alerts, notifications, etc.)
- Email-to-API pipelines
- Email testing environments
- π₯ Accepts SMTP email messages over TLS
- π Parses:
- Subject, sender, recipients
- Text and HTML bodies
- Attachments
- MIME headers and content types
- π§Ύ SPF validation (to verify sender IP)
- π DKIM and DMARC validation (coming soon)
- π§° Easy to extend: just plug your handler into the
receiveEmail()function - π§© Simple to integrate with any system (webhooks, DB, queues, etc.)
- Go 1.20+
- TLS certificate (self-signed is OK for local use)
go run .