Proton Mail Bridge
Proton Mail Bridge is a tool that allows end users of Proton Mail to send and receive email using traditional protocols (i.e. SMTP and IMAP).
It can be installed and run on a desktop machine but there is an unofficial docker image which you can use to run it as a service for applications that need to send automated emails.
In order to use it I created a simple Docker Compose file:
version: "2.0"
services:
bridge:
image: shenxn/protonmail-bridge:latest
restart: unless-stopped
volumes:
- /mnt/user/Docker/protonbridge/data:/root
ports:
- 1025:25
- 1143:143
- On first run I did
docker-compose run -i bridge init
which displays a terminal. - Enter
login
and use your proton login info - now enter
info
and you should be given some credentials for logging in to SMTP and IMAP locally. You can use these for web apps that need to send emails or devices on the same network as your docker host that need IMAP access. Remember to replace the IP address127.0.0.1
with whatever your docker host's address is.