Skip to content

πŸ“¨ A lightweight Go-based SMTP server that receives, parses, and logs emails with SPF validation. Easily integrate into any system.

License

Notifications You must be signed in to change notification settings

TrueFix/getmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πŸ“© Simple SMTP Email Ingest Server

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

βš™οΈ Features

  • πŸ“₯ 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.)

πŸš€ Getting Started

πŸ”§ Prerequisites

  • Go 1.20+
  • TLS certificate (self-signed is OK for local use)

2. Install and Run Server

go run .

About

πŸ“¨ A lightweight Go-based SMTP server that receives, parses, and logs emails with SPF validation. Easily integrate into any system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published