answered
2020-03-21 14:24:15 +0200
I use Hydroxide (https://github.com/emersion/hydroxide), which I cross compiled to ARM and then run in a terminal. It works fairly well with the Sailfish native email application.
EDIT:
For those of you who want to run this on your Sailfish device, here is how I did it:
Clone the hydroxide repo on your computer:
git clone https://github.com/emersion/hydroxide
Build it for your phone:
cd hydroxide/cmd/hydroxide
GOOS=linux GOARCH=arm go build
Transfer the executable to your device and place it in ~/bin/
Follow the instructions on the Hydroxide github page to set up the bridge.
In order for it to run on login, create the file ~/.config/systemd/user/hydroxide.service on your device with the following contents:
[Unit]
Description=Hydroxide ProtonMail bridge
[Service]
ExecStart=/home/nemo/bin/hydroxide serve
[Install]
WantedBy=default.target
Enable and start the unit:
systemctl --user enable hydroxide
systemctl --user start hydroxide
Now, create a general email account on your device and point it to the bridge on localhost.