-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electron Wrapper #246
Comments
I actually already have nice feature, that Alt+number switches between several mox accounts. I am really satisfied with it. |
Interesting! Would it be enough if the JS code called some special JS function (that you provide) when a new message comes in? Changes to the mailboxes/messages are coming in over an SSE connection, with handler functions in JS that update the UI. We could add some calls to that (conditional on them being defined, which would only be the case for an electron app). |
Yes, Electron can inject API, usually on |
The standard notifications are these, right? https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API I was thinking of calling some electron-provided code to the current webmail If you're doing api calls outside the regular webmail code, you'll also run Or are you looking for a way to register some code that runs independently of About notifications, would you want them only for new messages in the Inbox? I want to also add a little unread message counter to the favicon. I |
I wrapped the web interface Electron for my personal use, but maybe it could be good to make an app for everybody.
I would need just minor support API, if mox had an endpoint for number of unread messages and issued notification on each message received, I could make it into a nice app that shows number of unread mails in a tray.
The text was updated successfully, but these errors were encountered: