tjeb / mailbox-alert Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
Hi there,
So I'm trying to get rid of the poups & ding when there's new mail in TB v 91 & we tried to turn it off, but it wasn't intuitive for us.
Then someone in a forum told us to do this which didn't make sense. https://i.imgur.com/kGAr35Z.png
Can you please help.
We thought it would turn off specific mailboxes in TB from doing the popup & the ding.
Thanks a ton
Add an option to the popup context menu to close all popups.
Running 0.30 on Tbird 102.3.1 64-bit on Win10.
I have several IMAP accounts configured. One account has only an inbox and the inbox is set to Silent. I got a storm of messages this morning (Fedora released a bunch of updates and the messages were the notices for each package) and Tbird played the default new mail sound for each one.
Hello,
when trying to use notify-send via a command, it does not accept unicode characters. For example if I try to use notify-send "%server · %sendername"
it does not show any notification, but when I replace the middle dot by a dash.
The same command works (except for %server
and %sendername
) when executed in zsh or bash.
Cheers,
hpaantee
Hello,
I have Thunderbird alerts disabled and use this extension for alerting instead. I have two alerts set, one for a notification, one for sound. Both alerts are enabled for the topmost folder (account) and "Alert for child folders" is enabled.
When new mail arrives, I get two alerts of each kind in quick succession, i.e. two notifications and two sounds.
I can't tell why this happens. When "Alert for child folders" is disabled, I get no alert whatsoever.
Thunderbird 78, Mailbox Alert 0.27, Gentoo Linux
Any ideas? Thanks!
Hi,
it would be nice to be able to configure a more intrusive, e.g. bigger popup. When you add more text to the textbox, the size of the popup doesn't change. Adding whitespace also doesn't work.
The background is that the current popup is not that noticeable, especially if it has to compete with alarms from other programs on many different monitors.
OS: Windows 10.
Thanks!
I upgraded to v91 yesterday, now none of my custom sounds for individual email accounts are played when new email arrives. Will this add-on be updated so that will work again?
hi,
first, nice add-on! i needed something where i had a popup notification that remained until i saw it. for this purpose, the add-on is what i need.
i have TB adaptive junk mail filter enabled, too. those go right to the junk folder.
what i would like is not to receive MA notice for those labeled as junk by TB. i tried checking the box that says filter after junk mail classification, but the MA filter still displays a popup.
it's not a big deal, really, since i am just clicking to close the popups, but i was wondering if i am misunderstanding how this works. i don't even think it's a MA issue as much as trying to understand how the TB filter system works.
thanks!!
Using Windows 10 and Thunderbird 60.3.3, if I enter a path to a custom .wav file, Thunderbird crashes when I try to test it. Also the Browse button doesn't work properly as stated in issue #4 . It pops up an error dialog saying, "Error, unable to find selected audio file. Using default."
it seems to wor with default sound
unfortunately clicking on "Browse" has no effect
I have tried to put the short path ( from the user home root ~/rest_of_the_path/file.wav) and no effect
It works with the full path (/home/username/rest_of_the_path/file.wav )
It will be grat to fix the browse button
I'm not sure if it's within the scope of this add-on, but I'd love to see an option to trigger a custom alert based on the time of day an email is received. Right now I use custom voice alerts for each of my email accounts, but I'd like to further customize them by the time of day, using a time range. For instance, any email received between 12:00 AM and 11:59 AM would have a custom alert "Good morning John, new Hotmail email has arrived". Any email received between 12:00 PM and 4:59 PM would have a custom alert "Good afternoon", then from 5:00 PM to 11:59 PM would be "Good evening". Could that functionality be added to this add-on?
I have several search folders which I would like to alert incoming Mails.
The context menu appears, I can set configuration, but incoming mails don't
start alert.
Mailbox Alert 0.22.1
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
From the popup:
Choosing to delete the message isn't working.
Choosing to open the message in current window isn't working.
Thunderbird 52.9.1 (64-bit) on Ubuntu 16.04
A bunch of emails will arrive in my inbox while the computer is shut down. When I open Thunderbird and go through the inbox reading those messages that arrived while TB was closed, the alerts will fire when the email is read/opened. I think they are only supposed to fire when the email arrives? It is useless to fire an alert when I read an email because I am already reading it - I don't need an alert.
@tjeb When custom alerts are set up using message filters and more than one email arrives with the same address, at the same time, the custom alert sounds and overlaps itself. For instance, today I received four emails to the same address, at the same time. The alert started to play, but then was immediately played over by the same custom alert. So it sounded like a stutter, playing "John, John a new email has arrived for you". When only one email arrives, it plays fine "John, a new email has arrived for you"
Can an option be added to only process the message filter once, regardless of how many opportunities are present?
It would be great to have a possibility to execute a command or an alert if a Email message is read. So in addition to a event when a mail is received, I want to have a event when the mail is read.
In my case I want to update the Unread-Messages counter in the taskbar.
Hi and thanks for this useful addon.
When enabling Mailbox Alert on a subfolder where filtered emails are moved to, it does not fire.
Steps to reproduce:
Inbox
Workaround
Add Mailbox Alert action right in above filter rule.
Thanks
Tycho
Versions:
Mailbox Alert: 0.29.1
Thunderbird: 91.7.0-amd64 (Debian 11)
The notifications that I think are caused by the addon are especially in Wayland/Sway full-screen and pretty annoying. It'd be much better if the addon supported at least optionally sending the notifications through libnotify so that they would go through the native notification platform and look the same as other notifications.
TB 60 (the current beta) reports incompatibility with this awesome plugin.
I'm not sure whether this affects real functionality or is just a heads-up that some compatibility flag needs to be set.
Configuration and tests work fine but incoming mail doesn't trigger any action.
macOS 11.6, Thunderbird 97.0b2
On OS X, commands that work just fine on the command line, such as /usr/bin/osascript -e 'tell application "Terminal" to activate'
, fail silently. No error is given but they never execute when I hit the button to test the alert.
I am using the theme "TT DeepDark 12.1.3" and the 2nd field popup doesn't show anything :(
Here you see what I see: https://ufile.io/l5w13kj0
But thanks a lot for this app!!
When integrating using commandline, it would be nice to have an option of exposing all commandline arguments as a single json string.
Currently, I call my script as:
notify.py "{\"server\": \"%server\",\"originalfolder\": \"%originalfolder\",\"folder\": \"%folder\",\"countall\": \"%countall\",\"count\": \"%count\",\"subject\": \"%subject\",\"senderaddress\": \"%senderaddress\",\"sendername\": \"%sendername\",\"sender\": \"%sender\",\"recipientaddress\": \"%recipientaddress\",\"recipientname\": \"%recipientname\",\"recipient\": \"%recipient\",\"charset\": \"%charset\",\"messagebytes\": \"%messagebytes\",\"messagesize\": \"%messagesize\",\"date\": \"%date\",\"time\": \"%time\",\"enter\": \"%enter\",\"msg_uri\": \"%msg_uri\",\"msg_preview\": \"%msg_preview\"}"
Would be nice, to simply check a box and have all arguments auto added as the last argument of the specified command, or call notify.py %json
I use the following custom command to send my alerts to terminalnotifier, so that I can log the parameters for troubleshooting purposes:
/bin/bash /Users/home/Dropbox/Documents/IT/Shell\ Scripts/terminalNotifierForThunderbird.sh -s %sender -d %date -t %time -j %subject -f %folder -u %msg_uri
My log entries show that, for instance, for an email dated 10/21/15 10:28 PM, Mailbox-alert sends the value 6/20/47775
as %date and 2:03:20 AM
as %time.
This is a problem because I am migrating over 65,000 old emails from another account, and I don't want to turn off alerts because then I couldn't see new emails come in, but I want to filter by date in my script to prevent me from getting 65,000 alerts. I can't figure out how it's getting the values it's sending as dates, though.
When an alert is set up to "Open the message in a new window" on click, a new Thunderbird window opens but no message is displayed.
I am using v0.24 on Thunderbird v68.12.0 (64-bit) on Windows v10.0.18363.1082
While I can see
Don't let parent folders alert for this one
its not clear whether it operates recursively i.e. don't do alerts on child folders as well? Or, if not, could that be added as an option?
Hello,
I have installed Version 0.24 in TB version 75.0b3, and when I right-click on a folder, I don't see the Mailbox alert menu item. I'm running Mac OS Catalina (10.15.4).
With Best Regards,
Josh
First of all, I'd just like to say thank you for this extremely useful add-on.
I'd like to ask whether it's technically possible to allow enabling "alert for child folders" for the RSS feeds root folder. At the moment, the option in the right-click menu is greyed out for it specifically, although it is still possible to enable separate alerts for individual RSS subfolders. If there's no technical limitation here, would you consider adding this possibility to the add-on?
On a similar note, the "alert for child folders" option can be enabled in the case of "Local Folders".
Edit: User error, I'm sorry for the noise. Everything works as expected. You just need to enable the alert for the root folder first 😊.
I have a triple monitor set up, and will soon be using the left and center monitors for work, leaving the right monitor for personal use until my work day has ended. While I could toggle the input on the center monitor at random times throughout the day to check emails, it would be a better option to be able to specify within Mailbox-Alert which monitor to display the new email message on. TB is always running on my middle monitor, along with all of my other programs, so moving it and the others to the third monitor is not a viable option.
Its not clear from the documentation what the interaction with the native thunderbird alerts are? - does it disable them, overwrite them etc?
Exposing the e-mail message-id header would allow for commandline notifications to be de-duplicated.
Since TB was updated to 68.2.1, using %server
in my custom command does no longer work. I pass it to notify-send
and no notification is shown at all.
For debugging, I used this command:
/usr/bin/notify-send "%server" "%sendername" -t 100000
No notification is shown and the error console says:
[MailboxAlert] Command to execute:
[MailboxAlert] /usr/bin/notify-send "%server" "%sendername" -t 100000
[MailboxAlert]
[MailboxAlert] Executable:
[MailboxAlert] /usr/bin/notify-send
[MailboxAlert]
[MailboxAlert] Command: /usr/bin/notify-send
[MailboxAlert] Arguments: ,Johannes Lange ,-t,100000
On the other hand, using the "Test these settings" works (it shows "SomeServer").
There seems to be a problem with the %server
field. If I don't use it, it works:
/usr/bin/notify-send "TEST" "%sendername" -t 100000
Do you have an idea what happened in TB that might cause this?
Execute a command does not accept path arguments containing umlauts.
Here I've uploded examle (sound) files I get played with "aplay" which should be installed on any sound capable linux system.
https://bits-fritz.de/File/bug/tunes.zip (append at this issue didn't work)
successful command:
/usr/bin/aplay [wherever]/toene/mail.wav
"test configuration" plays sound
unsuccessful command:
/usr/bin/aplay [wherever]/toene/trööt.wav
"test configuration" silently ignores the command
Mailbox Alert 0.22.1
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
I get a lot of automated status mails every day. It would be great if I could set an alert if a mail from a specific sender has NOT been received until a specific time (let's say mail from sender X expected until 11.00 AM is not incoming = alert "sender x overdue").
Do you think such a reverse logic is possible?
Description: add another notification method which will alter Thunderbird's window for as long as there are unread messages in configured folders. Alteration should be "strong" in a way you could see it even from far away. Few ideas, as I don't know what is technically possible:
This notification method would complement current methods which are ephemeral and easy to miss if you are not in front of your computer when messages arrive.
I love your extension. Can you add support for Thunderbird 102 (currently in beta)? I installed using the Snap, so I think you could use it too to test.
No matter the settings, I could not have Mailbox Alert make any useful work in that context.
The only things having an impact on alerts behaviour are still the built-in alert settings of Thunderbird, just global settings.
No way to have a distinct behaviour for some mailboxes.
In camparizon,
proceeding the same but under WIndows 10, with Thunberbird 91 or even 102 works perfectly fine.
When pressing the "Help" button, I get the following error printed:
JavaScript error: chrome://mailboxalert/content/alert_list.xul, line 32: TypeError: protocolSvc.loadUrl is not a function
Thunderbird 60.3.1, Mailbox Alert 0.18.0
I think the code in MailboxAlert.getFullFolderName
causes a trailing slash if folderName is empty so I get notifications like
Nick has mail in Inbox/
OS: Ubuntu Mate 18.04
Steps:
Test1:
1-activating use of command with letting command field blank
2-click on Test these settings
Error1: [MailboxAlert] error at chrome://mailboxalert/content/mailboxalert_funcs.js:637: ReferenceError: Services is not defined
Test2:
1-activating use of command with command being play "/path/to/file.wav" (command working on terninal)
2-click on Test these settings
Error2: [MailboxAlert] error at chrome://mailboxalert/content/mailboxalert_funcs.js:637: ReferenceError: Services is not defined
Hello,
Environment : Debian 10.6 + Thunderbird 78.6
I get the alert displayed on my screen. I configured the "action on click" to "open the message".
When I click, it just displays a new empty Thunderbird window.
Thanks for help.
Francis
I'm using the TT DeepDark theme for Thunderbird. Due to its CSS, it causes the alert that pops up to have white text on a white background. Is it possible to change the text colors used in the alert popup? I've tried modifying the newmailalert.css file but can't get anything to change when I use the test option.
It's probably out of the scope of this add-on, but I would love to see an option to trigger an SMS alert when a new email arrives. To save data and reduce my plan cost, I no longer have email on my phone. However it would be nice to still know when a new email arrives via a text sent to my phone.
I had to reinstall TB and even though my profile was restore alot of things are missing.
All the sounds I had configured are missing from the setup.
how can I fix this?
I'm using Mailbox Alert 0.18.0 on Thunderbird 52.9.1 (32-bit) under Windows 10
There is %subject
, %sender
etc. It would be great to be able to also put %body
in custom notification commands.
Great extension btw, thanks for doing this! This helped me because the Thunderbird bug of missing notifcations in local folders has been open for 15 years.
The add-on allows to set alerts for RSS folders, but they don't seem to work at all. Basically, no notifications are displayed when new RSS feeds come in. Not sure if this is a limitation of Thunderbird itself (which also doesn't support notifications for RSS feeds), but if that's the case, then I'd like to kindly ask for such a functionality to be added to the add-on.
On the other hand, if doing so is either technically impossible or very difficult, then at least the add-on shouldn't allow to set notifications for RSS folders, as they don't seem to do anything right now.
Now I started a program, that sends two email which are moved to Junk and I see the coming in but Mailbox-Alert remains silent in every way
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.