Hey everyone π
Iβve recently released Mailbrig, a lightweight Python library that provides a unified interface for sending emails through multiple providers β including SMTP, SendGrid, Mailgun, Brevo (Sendinblue), and Amazon SES.
The main goal was to simplify provider integration β you can switch between them just by changing the configuration, without modifying your code.
It also comes with a small CLI tool for quick testing and setup.
π¦ PyPI: Mailbridge
π» GitHub: Mailbridge
Everythingβs open source and tested.
Iβd love to hear feedback or suggestions for new providers/features. π
Example:
from mailbridge.mail import Mail
Mail.send(
to="user@example.com",
subject="Welcome!",
body="<h1>Hello from MailBridge!</h1>",
from_email="no-reply@example.com"
)
Top comments (0)