mailnag
mailnag copied to clipboard
Show labels for different accounts in notification
I have five mail accounts in Mailnag, and it would be great to pass the account name (or a custom label that could be set) to the notification daemon so I could see at a glance which account the incoming mail is destined for.
(Sorry if that is already implemented, I couldn't find the feature)
No that's not implemented (yet). Though I don't know if it is feasible at all without cluttering the notification too much. Which desktop do you use btw?
I use Gnome Shell. How about having a maximum label size (like 8 characters), and then just put the label in square brackets right in front of the sender's name, like "[Work] My Boss: ...". I don't think that would clutter it up too much, and it would be a really helpful feature for me.
Since the notification system will most likely change in GNOME 3.16 I don't want to change anything UI related right now. Account information support would also introduce DBus API changes, so mailnag-gnome-shell <= 3.14 would require Mailnag 1.0, wheras mailnag-gnome-shell > 3.14 would require Mailnag > 1.0. So changing the API would increase the risk that Mailnag will no longer work for users who install the extension from extensions.gnome.org.
I like the idea of an (optional) account label. I just think it's best to postpone it for some time.
Would returning 1 extra field ('account') in GetMails
method actually break any of the extensions? This would be enough addition for most cases in my opinion.
You're probably right. I'll look into it as soon as I find time.
The new field is called "account_name". Extensions can make use of it now.
mailnag-gnome-shell will make use of it as proposed here.
That's exactly how I plan to use it as well : )
:+1: :)
Any chance that the unity plugin also get this feature?
@baizon: Unity's MessagingMenu API is very limited. I don't think it's possible.