Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. FastAPI
  3. Mailer

Mailer

AGPL-3.0Python

A self-hostable micro-service that adds contact form functionality to static websites via a simple API.

Visit WebsiteGitHubGitHub
150 stars8 forks0 contributors

What is Mailer?

Mailer is a micro-service that enables static websites to send emails from contact forms without requiring a traditional backend. It acts as a simple API endpoint that processes form submissions and forwards them via SMTP, solving the common problem of adding interactive forms to static sites.

Target Audience

Developers building static websites, JAMStack applications, or any project needing a lightweight, self-hosted contact form solution.

Value Proposition

It offers a free, open-source alternative to commercial form services, with full control over deployment, no usage limits, and features like spam protection and PGP encryption.

Overview

Dead-simple mailer micro-service for static websites

Use Cases

Best For

  • Adding contact forms to static sites built with Hugo, Jekyll, or Gatsby
  • JAMStack applications needing a simple email backend
  • Projects requiring a self-hosted alternative to FormSpree
  • Developers who want full control over email delivery and spam filtering
  • Sites needing PGP-encrypted contact form submissions
  • Teams deploying on their own infrastructure with Docker or serverless platforms

Not Ideal For

  • Projects requiring complex form processing with database storage or multi-step workflows
  • Teams without SMTP server access or preferring fully-managed, no-configuration services
  • Applications needing real-time webhook notifications or integrations beyond email output
  • Use cases where copyleft licenses like AGPLv3 are prohibitive for commercial deployment

Pros & Cons

Pros

Flexible Deployment Options

Supports Docker and serverless functions, with direct deployment buttons for Vercel and Heroku in the README, making it adaptable to various hosting environments.

Strong Spam Mitigation

Includes honeypot field and Google ReCaptcha v2 validation, specifically designed to filter out spam bots as highlighted in the features list.

Enhanced Security Features

Offers PGP/MIME encryption for secure email transmission and configurable CORS domain validation, providing privacy and access control for static sites.

Comprehensive API Documentation

Built-in OpenAPI documentation with Swagger and ReDoc interfaces, allowing easy exploration and integration of the API endpoints.

Cons

SMTP Setup Complexity

Requires users to configure and manage their own SMTP server or service, adding an initial setup hurdle compared to all-in-one solutions.

Self-Hosting Maintenance Burden

As a self-hosted micro-service, it necessitates ongoing updates, security patches, and infrastructure management, which can be time-consuming.

Limited Output Channels

Focuses solely on email sending without built-in support for other actions like data storage or webhooks, limiting flexibility for advanced use cases.

Open Source Alternative To

Mailer is an open-source alternative to the following products:

F
FormSpree

Formspree is a form backend service that handles form submissions from static websites and sends them to your email.

Frequently Asked Questions

Quick Stats

Stars150
Forks8
Contributors0
Open Issues0
Last commit12 hours ago
CreatedSince 2018

Tags

#fastapi#static-websites#micro-service#smtp#serverless#microservice#mailer#jamstack#python#pgp#docker#asgi#self-hosted#contact-forms

Built With

F
FastAPI
P
Python
D
Docker

Links & Resources

Website

Included in

FastAPI11.2k
Auto-fetched 5 hours ago

Related Projects

PolarPolar

Polar — A billing platform for the intelligence era

Stars10,082
Forks750
Last commit5 hours ago
DispatchDispatch

All of the ad-hoc things you're doing to manage incidents today, done for you, and much more!

Stars6,500
Forks675
Last commit10 months ago
RealWorld Example App - postgresRealWorld Example App - postgres

Backend logic implementation for https://github.com/gothinkster/realworld with awesome FastAPI

Stars3,113
Forks731
Last commit3 years ago
TermPairTermPair

View and control terminals from your browser with end-to-end encryption 🔒

Stars1,735
Forks74
Last commit4 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub