Skip to main content

A Python based SMTP server package and CLI that redirects incoming SMTP messages to upstream APIs like Google Chat, Slack and more!.

Project description

Mail2Beyond

PyPI Documentation Build Unit Tests PyLint CodeQL

Mail2Beyond is a Python-based SMTP server designed to redirect incoming SMTP messages to upstream APIs such as Google Chat, Slack, or even your own API! This includes a command line interface (CLI) that can be used to run Mail2Beyond as a standalone server, as well as a Python package that you can use to extend or integrate into your own applications.

Installation

To install Mail2Beyond, simply run the following command:

pip install mail2beyond

Usage

Before starting the Mail2Beyond server, you must create your configuration file. Once you have your configuration file ready, you can start the server by running:

mail2beyond --config /path/to/your/config.yml

Developer Documentation

How is This Useful?

Emails are often ignored due to the amount of spam we receive on a daily basis. Many systems and applications use SMTP to send mail alerts, notices and other information that may be important. This commonly causes important information to be overlooked or outright ignored. At the same time, many organizations are using real-time messaging services like Google Chat and Slack on a daily basis. Mail2Beyond allows you to redirect these important messages to these services to help keep your teams informed!

Beyond messaging services, Mail2Beyond can also be extended to include connectors to your own APIs to build out complex automation flows based on incoming SMTP messages.

How Does Mail2Beyond Work?

Mail2Beyond continually listens for incoming SMTP messages. When a message is received, the message is parsed and checked against a set of admin configured mappings that dictate which API connector is to be used. Mappings define which SMTP headers should be checked for a specific regular expression match. When a match is found, the email contents are parsed and sent to the upstream API using the connector specified in the mapping.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mail2beyond-1.0.2.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mail2beyond-1.0.2-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file mail2beyond-1.0.2.tar.gz.

File metadata

  • Download URL: mail2beyond-1.0.2.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for mail2beyond-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b9709b053c8dba4516cefa65510097aedfb3515f3e3feae2a6828431973e1adf
MD5 663e24850bc17bbaad7d3d9e7750c3db
BLAKE2b-256 eb4ec5156d7f376b0df5579cc6066adb8b1c1b621e6efe4e48e109a9d2de6c68

See more details on using hashes here.

File details

Details for the file mail2beyond-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mail2beyond-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for mail2beyond-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c545be94df751526f9a795577356fe6a8221583d4f19e43e89a8e64450b9c365
MD5 5d483a7c8049b62013616420c85865aa
BLAKE2b-256 8046870969b57f19ad444fe76253452c8ae32af6d764eaf6bdab4b08ac44bdc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page