getmail

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2025 License: MIT Imports: 7 Imported by: 0

README ΒΆ

πŸ“© 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 .

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis