Skip to content

charlierobin/proton-mail-app-wrapper

Repository files navigation

proton mail app wrapper

Regrettably, I've just noticed that of some point in July 2024, Proton have changed things so that their site no longer loads (although it still seems happy enough in my Catalina version of Safari).

I've tried quickly fiddling with various user agent signatures in an attempt to fool it into working, but so far no luck.

So at the moment, this is all useless. Which is a shame, as I used to use it a lot, but I just don't have the time to look into it further.

Download the Proton Mail Desktop app: https://proton.me/mail/download

—————

Basically just a web view in a window, with the URL set to:

https://mail.proton.me/u/0/inbox

So the first launch prompts the usual Proton Mail log in process, then displays the usual Proton Mail interface.

The app writes simple preferences … window position and size … so it can be restored correctly on quit/relaunch.

The only other thing it does is look for title changes in the HTML web page, and when they occur parse for Proton Mail’s standard unread messages text: the number of unread messages in brackets at the start of the title.

(1) Inbox | emailaddress@proton.me | Proton Mail -> there’s one unread message

If found, it checks the number to see if the number of unread messages has increased, plays an alert sound if it has.

It also updates the app’s Dock icon with the number of unread messages, similar to Apple Mail.

If there are no unread messages, the dock icon is cleared.

All in all: very very simple. But sometimes it’s the simple things in life that make me happy…

I created this app because I wanted to work with Proton Mail separately from my usual web browser (because I'm frequently clearing cookies/web data etc, and it was getting to be a real pain constantly reauthenticating). I also wanted to be able to have a separate app for each Proton Mail account.

I wanted to be able to have multiple Proton Mail and GMail accounts as icons in my Dock:

Screenshot 2023-09-18 at 13 24 30

There's more detailed information about all of this at https://github.com/charlierobin/google-mail-wrapper, which is another slightly different version of the app I built to handle GMail accounts.

Download universal binary (Intel and ARM) for those who can’t be bothered to compile their own version from scratch.

Screenshot 2023-09-16 at 12 36 13

About

A macOS app wrapper for the Proton Mail website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages