cross-posted from: lemmy.world/post/17087912
Protonmail relies solely on Firebase for receiving notifications on Android. While UniversalPush support is probably in the works, it may take some time until users on ROMs without GSF get built-in notifications.
For those that already use ntfy.sh as a push provider for other apps, github.com/0ranki/hydroxide-push is a solution to get push notifications of new mail in Inbox.
The service requires a Linux box to run on, and can be deployed as a container or by running the provided binary. Building from source is of course also an option.
The service is a stripped down version of Hydroxide, the FOSS Protonmail Bridge alternative. There are no ports exposed, all communication is outwards. Communications to Proton servers use the Proton API. The service only receives events from Proton servers, and if the event is incoming mail, a notification is sent to a ntfy.sh server and topic of your choice. Other types of events are simply disregarded, and no other processing is done. The sent push event does not contain any detailed information.
Authentication for the ntfy.sh topic is in the works. Meanwhile I suggest to keep the topic name obscure and always use TLS.
Disclaimer: I’m the author. All of the work is thanks to github.com/emersion/hydroxide, I’ve merely mutilized the great upstream project of most features for a single purpose. Issues, comments and pull requests are welcome!
EDITED: Didn’t notice until looking at the image in this post the notification says “ProtoMail” instead of “Protonmail”. Changed the image and it’s fixed in the latest version, available when the GitHub action finishes
Tregetour@lemdro.id 4 months ago
Notifications are overrated. I turn them off for the bulk of apps.
Devote one or two small time windows each day for life admin. Outside those windows it shouldn’t be seen or heard.
helenslunch@feddit.nl 4 months ago
…I mean for the bulk of apps, sure. For email though?
Tregetour@lemdro.id 4 months ago
Context is king. If there’s vital/time-dependent correspondence you’re waiting on, notifications can matter. But email in 2024 is pretty darn transactional, in which case a daily check is enough for most. Notifications for something suggest that I need to drop what I’m doing and attend to whatever arrived. That just doesn’t apply for service provider marketing, purchase receipts, etc.
And then the opsec angle comes into play: axios.com/…/apple-google-requests-push-notificati…
oranki@lemmy.world 4 months ago
In that case it’s definetly worth it to try this out, just so you have one more notification to disable