After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588843 - [mail-notification] Emit additional message information upon receiving new mail
[mail-notification] Emit additional message information upon receiving new mail
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Plugins
2.26.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: evolution-plugin-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-07-17 08:21 UTC by Richard Schwarting
Modified: 2009-10-30 16:04 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Richard Schwarting 2009-07-17 08:21:30 UTC
Could we have additional information other than a folder.changed event emitted when new mail arrives?  

I do other things than sit at my desk all day (or, at least I'd like to) but I also want notification of events such as new e-mails.  So, I use Speech Dispatcher to announce a playing track's artist and title for Rhythmbox (gitorious.org/djaqua) and to announce the sender of Pidgin instant messages (and, sometimes, read its content) (gitorious.org/imaqua).  I'd like to write a dbus client or an eplugin to read aloud a newly received e-mail's sender and subject. That way, I can decide whether the potential interruption warrants my further attention (and returning to the computer).

Bug 464400 requests sender, subject information be included in mail notification messages.  However, there are concerns as to how to do such a thing effectively in a UI.  Providing these events for others to consume would delegate bad decision making to those who want to make those bad decisions.  In my usage, I rarely get many new messages at a check, only one or two when any, but my general plan for a speech-based notification plugin/dbus-client would be to, given enough messages, just announce the number of them.
Comment 1 Milan Crha 2009-10-30 16:04:20 UTC
I did this within commit daa8339 in evo master (2.29.2+) for bug #464400.
There are new text parameters for a dbus message: msg_uid, msg_sender and msg_subject. it works only when just one message is received. The format of a parameter is "name:value", where 'name' is for example "msg_uid".