elementary / mail

Mail app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
197 stars 48 forks source link

ProtonMail support #323

Open dillonfagan opened 5 years ago

dillonfagan commented 5 years ago

It would be great if Mail on elementary OS were the first email client with built-in support for ProtonMail. In my opinion it's in the best interest of the Linux (and elementary) community to support Proton's efforts to protect individual privacy online. Building in support for and promoting the use of ProtonMail within the Mail app would be phenomenal.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/65983502-protonmail-support?utm_campaign=plugin&utm_content=tracker%2F59850425&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F59850425&utm_medium=issues&utm_source=github).
eljefuri commented 5 years ago

Can you define precisely what you mean by support? Does ProtonMail use different protocols than IMAP/POP3/SMTP, or are you talking about the encryption aspect presumably covered by this issue? I have never looked ProtonMail myself so have no idea what their special sauce is, if anything at all.

dillonfagan commented 5 years ago

Yeah so ProtonMail does not use the standard email protocols, which is why with email clients today, you have to install a tool they developed called the ProtonMail Bridge. This grabs your emails with their secure protocol and then spoofs IMAP/SMTP on your local machine to then send those emails to your email client.

I am by no means an encryption or email expert, so I'm not entirely sure how Proton's security works. I do know that they use open source software and that emails are encrypted with AES. Maybe this link can be helpful?

eljefuri commented 5 years ago

Given how Mail now works in master, I assume that this needs to be done as a switchboard-plug-onlineaccounts integration. Mind you, I do not yet understand how that works, but I have a feeling that the issue does not belong here exactly.

dillonfagan commented 5 years ago

Oh, so the switchboard plugin actually does the fetching of emails?

eljefuri commented 5 years ago

I am honestly not sure yet. Just trying to understand all of this now.

nblackburn commented 5 years ago

https://protonmail.com/bridge

DkGr commented 5 years ago

Protonmail Bridge does not really support Mail. After configuring Mail with Protonmail Bridge, email are not well synchronized. Sometimes, folders are not synchronized or sometimes e-mail cannot be displayed (infinite loading). I don't know if these problems are caused by some missing features on Mail or if it's a wrong behaviour of Protonmail Bridge.

nblackburn commented 5 years ago

@DkGr Sorry to hear that, as far as i am aware this is the only means of supporting it as it uses it's own protocol which is proprietary.

dillonfagan commented 5 years ago

Maybe this could be helpful? https://github.com/ProtonMail/WebClient

shawn1thompson commented 3 years ago

They have been open-sourcing their apps. The Bridge is here.

marbetschar commented 3 years ago

TL;DR For elementary to eventually support Proton Mail synchronization natively, it needs to be added to Evolution Data Server first: https://gitlab.gnome.org/GNOME/evolution-data-server

Synchronization of PIM data (Mail, Calendar and Tasks) is done by the underlying Evolution Data Server. Online Accounts itself is just a fronted to Evolution Data Server for configuring the accounts it should use for synchronization.

swt83 commented 3 years ago

Here to +1 the effort to get Protonmail working on Elementary, even if it was just using Bridge.

victorodg commented 1 year ago

I also wish I could use protonmail.. even if through bridge