vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.51k stars 99 forks source link

stop getting notify #707

Open babebort opened 6 days ago

babebort commented 6 days ago

Hello.

Suddenly ElectronMail stop sending me notify about new mail, after playing with settings I got Invocation timeout of calling "resolveUnreadNotificationMessage" method on "electron-mail:ipcMain-api" channel with 25000ms timeout but still couldn't enable notify

vladimiry commented 6 days ago

To get rid of the error, you will need to disable the "Custom notification content" switch located in the "Desktop Notifications" collapsible account settings section (see screenshot for details). This is an opt-in feature, which is not yet optimized for processing many messages (as apparently occurs in your case).

custom-ns2

babebort commented 6 days ago

Error got rid but still have not notify about new messages...

vladimiry commented 6 days ago

If you have enabled the local store mode for the account (which I think you did, as the "Custom notification content" switch is only available in this mode), then a green blinking indication icon on the account handle should stop blinking before the notification starts working since in this mode the unread counter gets derived from the local store/database. Stopped blinking means the app completed initial data load/bootstrap. If there are many mail messages, the initial data load process can take hours. If the "local store" is not enabled for the account, the notification should just work (unless Proton has changed the data format of some APIs).