# Paperless: ProtonMail Bridge

Source code: [shenxn/protonmail-bridge-docker: ProtonMail IMAP/SMTP Bridge Docker container (github.com)](https://github.com/shenxn/protonmail-bridge-docker)

Change to the Paperless docker directory

```bash
sudo docker compose down
sudo docker run --rm -it -v protonmail:/root shenxn/protonmail-bridge init
```

Enter "login" to connect the ProtonMail account. Once complete, type "info" to get the login details that will be used in the Paperless mail interface.

Exit the instance (using control-c if necessary).

Bring paperless up again.

```bash
sudo docker compose up -d
```

Configure and test the mail settings

[![image.png](https://mynotes.internetlinked.com/uploads/images/gallery/2024-05/scaled-1680-/image.png)](https://mynotes.internetlinked.com/uploads/images/gallery/2024-05/image.png)