prospect-mail icon indicating copy to clipboard operation
prospect-mail copied to clipboard

[Bug]: I don't receive any notifications

Open felipeleon73 opened this issue 1 year ago • 3 comments

Describe the bug I don't receive any notifications when an email arrives. If I understand correctly, a badge should appear on the icon and the desktop notification should appear, but I don't see any of this. Maybe I need some custom settings

To Reproduce Receive a mail

Expected behavior A badge should appear on the task icon and the desktop notification should appear

Desktop (please complete the following information):

  • OS: Ubuntu 23.10

  • Installation source: Snapstore

  • Version 0.5.3

  • OS: Arch linux (KDE)

  • Installation source: Snapstore/aur

  • Version 0.5.0/0.5.2/0.5.3

felipeleon73 avatar Feb 14 '24 11:02 felipeleon73

I did a little research into why it doesn't work and was able to figure out why. My HTML page has slightly different classes than expected, perhaps due to company customization. The selector for unread emails, in fact, is .C2IG3.ORnNd.oTkSL.iDEcr .o03Ce .BptzE.e0wpX.Idtcl .Idtcl.Mt2TB instead of .C2IG3.LPIso.oTkSL.iDEcr .o03Ce .BptzE.e0wpX.WIYG1 .WIYG1.Mt2TB.

Could we give the option to specify the selector in the settings?

I also implemented (modified) the workaround provided by @gtoniolo for #325. Here is my working code github.

felipeleon73 avatar Feb 15 '24 14:02 felipeleon73

I have no badge on new emails too. Might be the same selector things as company applies ui customization as well (company logo, so on). Would appreciate if this gets implemented.

yermulnik avatar Mar 14 '24 18:03 yermulnik

@julian-alarcon Could you adapt the code of @felipeleon73 ?

darkstoneathome avatar Apr 24 '24 05:04 darkstoneathome