Skip to content
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

Add ability to check for unread messages in #sent #8

Open
avar opened this issue Sep 18, 2010 · 1 comment
Open

Add ability to check for unread messages in #sent #8

avar opened this issue Sep 18, 2010 · 1 comment

Comments

@avar
Copy link

avar commented Sep 18, 2010

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?

@AndersSahlin
Copy link
Owner

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants