Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 878 Bytes

getting-started.md

File metadata and controls

28 lines (18 loc) · 878 Bytes

Getting Started

Mailroom is a framework that simplifies the creation, routing, and delivery of user notifications based on events from external systems. This guide will help you get up and running quickly.

Quick Start

Create a new Go project that uses Mailroom as a dependency:

mkdir my-project
cd my-project
go mod init my-project
go get github.com/seatgeek/mailroom

Copy the code example into your project as main.go, modifying it to suit your needs, and then run it:

go run main.go

Architecture Overview

Mailroom provides an HTTP server that accepts incoming webhooks from external systems. When an event is received, Mailroom generates notifications and sends them to users based on their preferences:

Flow diagram

See the Core Concepts documentation for more details.