Thank you, everyone, for the Daily Deviation! 
2/24/2013 - Current Version: 1.6
Note: If you are having any login problems, please make sure you are using version 1.6 or higher. Thank you! 
Description:
This is
dAmnGotMail, an automatic inbox refresh script..
The purpose of this script is to automatically notify you of new messages in your inbox without having to reload the page; this is especially helpful when on the chat network.
The inspiration to make this script came from =
Dediggefedde. He gave some extremely helpful advice; the script is also modeled on two of the functions used in his script
Devsidebar which is an amazing piece of work. I have since released multiple changes to the original script and have further refined it, fixing any bugs and improving the design both in its code as well as aesthetically.
This script for Firefox (Greasemonkey) or Google Chrome, will automatically update your deviantART inbox located on your menu bar.
It does not interfere with the user menus, however, and is very simple.
How to install for Firefox:
First make sure you have Firefox with the Greasemonkey plugin.
If you do not have Greasemonkey,
click here to get it now.Once you have Greasemonkey, just:
>> Click here to go to the script home page! <<Then just install the script, restart Firefox and enjoy!
How to install for Google Chrome:
First make sure you have Google Chrome (no plugins required).
First, download the script:
>> Click here to go to the script home page! <<Next, right-click the "Install" button on the top right and click "Save link as.." to save it to any location on your computer.
Now go to
chrome://extensions/ in your browser or go to
Tools > Extensions.
Once there, drag the downloaded script onto the window. If it asks, tell it to Allow the script.
Once you have allowed and installed the script, just restart Google Chrome and enjoy!
Important Notice:
Make sure you have the
Splinter Menu turned off before using this script. It was not designed for the
Splinter Menu and will most likely cause undesired effects.
Change Log:
Version 1.6: Improved design, fixed Activity Stack and fixed Journal Stack.
Version 1.5: Fixed the
1 (1 Note) glitch and now it will only display
1 Note,
2 Notes, etc whenever you have notes and no other messages.
Version 1.4: Fixed a minor visual formatting error. Script will no longer miss a "bar" between certain items and the notes item.
Version 1.3: Separated Correspondence messages from the Feedback messages; this makes the script seem closer to the original inbox's look.
Version 1.2: Cleaned up the script a bit. Slightly increased stability.
Version 1.1: Fixed for Google Chrome. Runs better on both browsers.
Known Bugs:
Does not work with "Group Messages"
If you like my script, please just show your appreciation by adding this to your Favorites? It will help spread the word so my script can slowly help deviantART more and more!

You may also Donate if you feel inclined to do so.. 
Though it's not much of a competition if I'm not looking to only target chrome.. Plus I don't want to make it a plugin since some people aren't that dAmn crazy lol
Your plugin looks pretty good though. What would really impress me is if you found a way to ALSO retrieve group mail, as it is an additional inbox in itself to check. If you find that out, give me a call.. I've tried thinking of a logical way to implement it for a while
If I don't know whether a folder is just a folder or a group, I query (normally, just once per browser session) the actual message center page. It has embedded info on whether it's a group or not and I can get that by regexes.
Then it works like the inbox, just use another folder ID in get_views.
That's why I have currently lost my DD award for it, at least, until they reinstate it.
For some reason, because it read a copy of the
http://www.deviantart.com/messages/#page, it would throw errors with the login I guess? People were having cookie errors, couldn't log in, etc.After getting a few users to switch to version 1.6 where it uses all Difi for the inbox information, it worked fine lol.
So like mentioned in the other message, sadly I would have to figure out the ugly hack in order to find group messages without the chance of the cookie bug.
For your case it's a bit more complicated as the lifetime of your script is the lifetime of a page.
So it doesn't cause errors as long as you keep it infrequent.
Polling a front-end page once per 10 seconds is clearly a massive overkill and does trigger the wrath of dA.
Yeah, I think it's best I don't attempt to query the group folders just for the sake of not screwing stuff up.. Or at least until I get that sudden realization of the perfect fix. It's happened before, lol
Though truth be told, only I do filter for groups (and not just any folders), as it needs an ugly hack currently.
I have it on Firefox and am using it right now; it works fine for me. What browser are you using, which version of the script, and is splinter mode turned on or off?