MailCheckerPlus icon indicating copy to clipboard operation
MailCheckerPlus copied to clipboard

Add ability to check for unread messages in #sent

Open avar opened this issue 14 years ago • 1 comments

I send a lot of messages to mailing lists, and the best way to monitor replies is to check the #sent label in GMail for unread messages.

Unfortunately no GMail checker that I can find provides this feature, since you already have a feature for monitoring #all this should presumably be easy, but with this monkeypatch:

diff --git a/src/mailaccount.class.js b/src/mailaccount.class.js
index d5f3192..d7c8ae8 100644
--- a/src/mailaccount.class.js
+++ b/src/mailaccount.class.js
@@ -39,6 +39,6 @@ function MailAccount(settingsObj) {
                atomLabel = "";
        } else {
-               inboxLabel = "#all";
-               unreadLabel = "#search/l:unread";
+               inboxLabel = "#sent";
+               unreadLabel = "#sent";
                atomLabel = "unread";
        }

It doesn't work as expected. Perhaps you could look into it? Maybe as part of a more general "monitor unread messages under a given label" feature?

avar avatar Sep 18 '10 14:09 avar

The problem with your code snippet is that it is still monitoring the "unread" atom feed label. You need to find the atom label that corresponds with the #sent-label. Presumably this is "sent" - try it out and I think you'll find that it works. Better label functionality is one of the most requested features - I just haven't come up with a good design for it yet. :)

AndersSahlin avatar Sep 18 '10 23:09 AndersSahlin