{"id":48038603,"url":"https://github.com/goposta/posta","last_synced_at":"2026-05-01T09:00:48.224Z","repository":{"id":346571757,"uuid":"1188540782","full_name":"goposta/posta","owner":"goposta","description":"Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.","archived":false,"fork":false,"pushed_at":"2026-04-28T17:01:03.000Z","size":3956,"stargazers_count":50,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-28T19:04:53.506Z","etag":null,"topics":["http-to-smtp","mail-delivery","mailsender","mailserver","mailtemplate","mailtest"],"latest_commit_sha":null,"homepage":"https://goposta.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goposta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-22T08:17:18.000Z","updated_at":"2026-04-28T17:01:08.000Z","dependencies_parsed_at":"2026-03-25T16:04:05.724Z","dependency_job_id":"827af56e-92d9-46bd-887d-7267a2e29ddf","html_url":"https://github.com/goposta/posta","commit_stats":null,"previous_names":["goposta/posta"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/goposta/posta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goposta%2Fposta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goposta%2Fposta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goposta%2Fposta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goposta%2Fposta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goposta","download_url":"https://codeload.github.com/goposta/posta/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goposta%2Fposta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http-to-smtp","mail-delivery","mailsender","mailserver","mailtemplate","mailtest"],"created_at":"2026-04-04T14:03:10.827Z","updated_at":"2026-05-01T09:00:48.219Z","avatar_url":"https://github.com/goposta.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Posta\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/goposta/posta/main/logo.png\" alt=\"Posta\" width=\"150\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Self-hosted email delivery platform for developers and teams\n\u003c/p\u003e\n\n[![CI](https://github.com/goposta/posta/actions/workflows/ci.yml/badge.svg)](https://github.com/goposta/posta/actions/workflows/ci.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/goposta/posta)](https://goreportcard.com/report/github.com/goposta/posta)\n[![Go](https://img.shields.io/github/go-mod/go-version/goposta/posta)](https://go.dev/)\n[![Go Reference](https://pkg.go.dev/badge/github.com/goposta/posta.svg)](https://pkg.go.dev/github.com/goposta/posta)\n[![GitHub Release](https://img.shields.io/github/v/release/goposta/posta)](https://github.com/goposta/posta/releases)\n![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/jkaninda/posta?style=flat-square)\n![Docker Pulls](https://img.shields.io/docker/pulls/jkaninda/posta?style=flat-square)\n\n\n\n\n---\n\n## Overview\n\n**Posta** is a self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics.\n\nIt is designed as a developer-first, fully self-hostable alternative to services like SendGrid or Mailgun.\n\n[![Website](https://img.shields.io/badge/Website-goposta.dev-blue?style=flat-square)](https://www.goposta.dev/)\n[![Try it](https://img.shields.io/badge/Try%20it-app.goposta.dev-green?style=flat-square)](https://app.goposta.dev/)\n---\n\n## Quick Example\n\nSend your first email:\n\n```bash\ncurl -X POST http://localhost:9000/api/v1/emails/send \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"from\": \"hello@example.com\",\n    \"to\": [\"user@example.com\"],\n    \"subject\": \"Hello from Posta\",\n    \"html\": \"\u003ch1\u003eHello!\u003c/h1\u003e\"\n  }'\n```\n\nResponse:\n\n```json\n{\n  \"id\": \"email_01J8C8E5W3\",\n  \"status\": \"queued\"\n}\n```\n\n---\n\n## Core Features\n\n### Email Delivery\n\n* REST API for transactional, batch, and templated emails\n* Attachments, custom headers, and unsubscribe support\n* Scheduled sending and preview mode\n* Async processing with Redis and Asynq\n* Automatic retries and priority queues\n\n### Inbound Email\n\n* Built-in SMTP receiver with TLS\n* HTTP webhook ingest with HMAC verification\n* Raw message, headers \u0026 attachment storage\n* Forwarding with status tracking\n* Spam scoring \u0026 retry on failure\n* Real-time SSE stream for inbound notifications\n\n### Templates\n\n* Versioned and multi-language templates\n* Variable substitution and stylesheet inlining\n* Import/export and preview support\n\n### Campaigns\n\n* Bulk email campaigns with scheduling and subscriber targeting\n* Draft, scheduled, sending, paused, and cancelled lifecycle states\n* A/B testing with multi-variant splits and per-variant performance metrics\n\n### SMTP \u0026 Domains\n\n* Multiple SMTP providers with TLS support\n* Shared SMTP pools for teams\n* Domain verification (SPF, DKIM, DMARC)\n* Verified sender enforcement\n\n### Security\n\n* API keys with expiration, hashing, and IP allowlisting\n* JWT authentication and RBAC\n* Two-factor authentication (TOTP)\n* OAuth / SSO login (Google, Keycloak, authentik, and more)\n* Rate limiting and session management\n\n### Contacts \u0026 Subscribers\n\n* Contact tracking, lists, and segmentation\n* Subscriber lifecycle (active, bounced, unsubscribed)\n* Hard/soft bounce and complaint handling\n* Automatic suppression lists\n\n### Tracking\n\n* Pixel-based open tracking\n* Click tracking with link rewriting\n* Per-email engagement metrics\n\n### Workspaces\n\n* Multi-tenant architecture with isolated workspaces\n* Role-based access control\n* Shared resources and scoped API keys\n\n### Webhooks \u0026 Events\n\n* Event-driven architecture with webhook delivery\n* Retry strategies and delivery tracking\n* Audit logs and real-time event streaming\n\n### Analytics \u0026 Monitoring\n\n* Email delivery, open, and click metrics\n* Prometheus integration\n* Health endpoints and daily reports\n\n### Admin Platform\n\n* User and API key management\n* Global metrics and logs\n* SMTP pool management\n* Platform configuration and retention policies\n\n### Dashboard\n\n* Vue-based UI for managing all resources\n* Analytics, templates, SMTP, domains, contacts, campaigns, and logs\n* Dark/light mode and user preferences\n\n---\n\n## Architecture\n\n* Backend: Go (Okapi framework)\n* Frontend: Vue 3 + Vite\n* Database: PostgreSQL\n* Queue: Redis + Asynq\n* Metrics: Prometheus\n\n---\n\n## Requirements\n\n* Go 1.25+\n* PostgreSQL\n* Redis\n\n---\n\n## Quick Start\n\n### Docker Compose\n\n```bash\ndocker compose up -d\n```\n\nAccess the dashboard:\n\n```\nhttp://localhost:9000\n```\n\nDefault credentials:\n\n```\nEmail: admin@example.com\nPassword: admin1234\n```\n\n---\n\n### Local Development\n\n```bash\ngit clone https://github.com/goposta/posta.git\ncd posta\n\nmake dev-deps\nmake dev\nmake dev-worker\n```\n\n---\n\n## API Documentation\n\n* API Reference: [https://app.goposta.dev/docs](https://app.goposta.dev/docs)\n* OpenAPI Spec: [https://app.goposta.dev/openapi.json](https://app.goposta.dev/openapi.json)\n* Local: `/docs` on your Posta instance\n---\n\n# Dashboard\n\nPosta includes a web dashboard for managing templates, SMTP servers, domains, contacts, API keys, and analytics.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/dashboard.png\" alt=\"Posta Dashboard\" width=\"900\"/\u003e\n\u003c/p\u003e\n\n### Email Analytics\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/analytics.png\" alt=\"Email Analytics\" width=\"900\"/\u003e\n\u003c/p\u003e\n\n### Template Detail\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/template-detail.png\" alt=\"Template Detail\" width=\"900\"/\u003e\n\u003c/p\u003e\n\n### Template Editor\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/template-editor.png\" alt=\"Template Editor\" width=\"900\"/\u003e\n\u003c/p\u003e\n\n### Admin Platform Metrics\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/admin-platform-metrics.png\" alt=\"Admin Platform Metrics\" width=\"900\"/\u003e\n\u003c/p\u003e\n\n### Admin Platform Metrics (Dark)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/admin-platform-metrics-dark.png\" alt=\"Admin Platform Metrics Dark\" width=\"900\"/\u003e\n\u003c/p\u003e\n\n---\n\n## Official SDKs\n\n* Go: [https://github.com/goposta/posta-go](https://github.com/goposta/posta-go)\n* PHP: [https://github.com/goposta/posta-php](https://github.com/goposta/posta-php)\n* Java: [https://github.com/goposta/posta-java](https://github.com/goposta/posta-java)\n\n### Go Example\n\n```go\nclient := posta.New(\"https://posta.example.com\", \"your-api-key\")\n\nresp, err := client.SendEmail(\u0026posta.SendEmailRequest{\n    From:    \"sender@example.com\",\n    To:      []string{\"recipient@example.com\"},\n    Subject: \"Hello from Posta\",\n    HTML:    \"\u003ch1\u003eHello!\u003c/h1\u003e\",\n})\n```\n\n---\n\n## Contributing\n\nContributions are welcome. Please open an issue before submitting a pull request.\n\n---\n\n## License\n\nApache License 2.0\n\n## Copyright\n\nCopyright (c) 2026 Jonas Kaninda and contributors\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoposta%2Fposta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoposta%2Fposta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoposta%2Fposta/lists"}