I added a new feature to the contact page that shows you how high (or low) my email queues are, which update once a minute. If the levels are lower, it probably means I’ll get back to your sooner.
I added a new feature to the contact page that shows you how high (or low) my email queues are, which update once a minute. If the levels are lower, it probably means I’ll get back to your sooner.
How you did it? 🙂
Self hosted e-mail?
Thatss a neat little feature!
Any chance you could share how you did this?
For levels I just have a script that open each maildir directory, looks at the number of non-deleted messages, and then stores the number in a DB at an hourly resolution. That script runs one a minute. On that page I show the info for the current hour.
For the outgoing, I already have table logging all incoming and outgoing emails, so it’s just a simple query and a COUNT( DISTINCT ) for the people number.
Very cool feature 🙂 Can I ask how you achieved it? Is it some sort of plugin?
Just checked your contact page… that’s scary. An I thought I had it bad. You must really have to learn to let go 🙂
oh that’s so sweeeet… what a great idea.
what’s the technology behind it?
That’s a cool feature Matt, how did you do it?
Nice – what are you using to generate the stats?
Interesting. From where did you pull the counts, and how? Cool feature.
That is cool. Just the other day, I was wondering out loud about this very idea, inspired by how AirBnB tells you the seller’s typical response rate.
With more and more services coming along to help manage your inbox (I’ve recently been using SaneBox), I could imagine some sort of web service that does what your script does and publishes a social email backlog/status display.
I’m going to email you a lot when the level dips down, keep you on your toes. 🙂
Rendering the numbers as a chart, using colors to denote how overheated each section is, would convey the basic idea – that you are busy – more effectively.
I particularly like the fact that it indicates priority but I wonder if using the phrase “Low priority” might seem dismissive to people who are anxious about whether or not you will reply to them. Might be better to number High Priority or Urgent emails, then Everything Else.
I wonder if someone could write a plugin that pulled the same info from a specified GMail or Google Apps account, would be good if it could hook into the superb new Priority Inbox feature.
You might want to turn it into a bar chart or visual graph.
Yep, will try that after I have more than a few hours of data.
Hello, Gmail. Please copy this idea. 🙂
Here’s one idea for how this could work in gmail: http://nickgrossman.tumblr.com/post/1221882526/current-mail-queues-inbox-151-low-priority
Simply amazing huh…it would be nice if this can developed into a plugin for our blogs…
Just an idea…
Super cool matt! I wish I had a purpose to use this! I don’t do any customer support. But this would be neat for customer support to use.
For those who are wondering how to do this with your own email, I will try and start you down the right direction. This will work with gmail as an example. But it should work with any IMAP email.
1. you can get the code gmail imap code from http://davidwalsh.name/gmail-php-imap
2. where it does the foreach($emails as $email_number) { you would just change this to update your table of how many unread messages that there are in your in box. It would be something like if ($overview[0]->seen == “read”) {
k++;
update mysql table
3. Have that run every hour or so updating how many unread there is.
4. To enable some sort of graph in the future you would insert a new row for each time mail is checked. with the date, how many total, and how many unread in the inbox.
I myself was just interested in how matt did this, and this is just one way.
Another way is to use the feed for your gmail account at https://mail.google.com/mail/feed/atom/ and just parse the number of unread messages
Nice. 🙂
I think I’ll attempt this right now. 🙂
Thanks Weston! Just done this and it works well – my email signature now automatically gives an indication of how empty my inbox is.
Cool, Matt, I shall never try to develop one by myself, when I have such problems, I just would like to find solutions on http://www.phpkode.com/scripts/tag/imap/
Thanks for your great idea, but I would like to know how you achieved it