pending anonymous user

  • 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: August 7th, 2023

help-circle

  • If I understand correctly, you want a two component setup. A PWA client for you to read the mail, and a server acts as IMAP client, fetches mails from all you mailboxes. The server will expose an API for tge PWA to access mail content. When new mail arrives, the server push a beacon via the Push API. The PWA would fetch the sender and title, and display a notification. If you clicks it, only then the PWA will fetch the body.

    After a quick glance of the demo, I think SnappyMail fit the bill? It seems can be installed as PWA, and my browser does ask me if I want to give it push notification permission. However, I’m not too sure if the fetch logic happens as I laid out.