Skip to main content

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.

Metadata

Release files for mail2beyond 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mail2beyond 1.0.3
File Size Uploaded
mail2beyond-1.0.3.tar.gz 20.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mail2beyond 1.0.3
File Interpreter ABI Platform
mail2beyond-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 45.3 kB

Release files / mail2beyond-1.0.3.tar.gz

Download URL mail2beyond-1.0.3.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ee5feba478cbde67e3e0746e734ad703438e5d2bfdf51c472db9454f679ff093
BLAKE2b-256 checksum
How to use checksums
c76a0d2e9457e2cfce8d6f370b36c3b37efd2539b34cfe89d8c462d6049f6a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / mail2beyond-1.0.3-py3-none-any.whl

Download URL mail2beyond-1.0.3-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1434c3c377ca271628b00c67b3d71eed2782ef8d6785e2810f6c1e9dcd703b5a
BLAKE2b-256 checksum
How to use checksums
8138f88c6cf3478a90f5adfce87a5b4a696bc047b6df5f2293896b702b435082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page