Email sending system
|
|
| +---------------------+ +----------------------+
| | | | |
| SMTP 25 | Email2Matrix | HTTPS (client API) | Matrix Homeserver |
+--------> | | ------------------> | (e.g. Synapse) |
| | | |
+---------------------+ +----------------------+
Things to note:
-
email2matrix
receives email messages sent from another system -
the mailbox that a message gets delivered to (e.g.
[email protected]
) designates where the message will be forwarded to on the Matrix side (such mappings are defined inconfig.json
manually) -
email2matrix
then uses the Matrix Client-Server API with a pre-created user and access token in order to send a Matrix message to a specific room (as defined inconfig.json
)