these libraries look promising for making CSS more manageable:

http://code.google.com/p/css3-mediaqueries-js/
http://lesscss.org/

I think I came across less being used with other javascript library... backbone.js.

http://www.google.com/search?q=javascript%20drag%20and%20drop&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&source=hp&channel=np#hl=en&client=firefox-a&hs=Ibi&rls=org.mozilla:en-US%3Aofficial&channel=np&sclient=psy-ab&q=javascript+drag+item&oq=javascript+drag+item&aq=f&aqi=g-v1&aql=&gs_nf=1&gs_l=serp.3..0i15.153379.154479.0.155491.5.4.0.1.1.1.313.1052.2-3j1.5.0.3ceGDpsDlSk&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=6444ccfd1295e99d
javascript drag item - Google Search
http://stackoverflow.com/questions/5186441/javascript-drag-and-drop-for-touch-devices
jquery - Javascript Drag and drop for touch devices - Stack Overflow
http://www.google.com/search?q=javascript+libraries&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#q=javascript+libraries+comparison&hl=en&client=firefox-a&hs=Ghi&tbo=1&rls=org.mozilla:en-US:official&output=search&source=lnt&tbs=qdr:m&sa=X&ei=KrWQT__uAZTpgQe-sfGeBg&ved=0CAcQpwUoBA&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=6444ccfd1295e99d
javascript libraries comparison - Google Search
http://news.ycombinator.com/item?id=3848683
Compare JS MVC frameworks implementing the same site: TodoMVC | Hacker News
http://socialcompare.com/en/comparison/javascript-graphs-and-charts-libraries
Javascript Graphs and Charts libraries | Comparison tables - SocialCompare
http://en.wikipedia.org/wiki/JavaScript_library
JavaScript library - Wikipedia, the free encyclopedia
https://developers.google.com/speed/libraries/
Make the Web Faster — Google Developers
http://www.google.com/search?q=backbone+js&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
backbone js - Google Search
http://documentcloud.github.com/backbone/
Backbone.js
https://github.com/documentcloud/backbone/wiki/Projects-and-Companies-using-Backbone
Projects and Companies using Backbone · documentcloud/backbone Wiki · GitHub
http://documentcloud.github.com/backbone/#examples
Backbone.js
http://zeptojs.com/
Zepto.js: the aerogel-weight jQuery-compatible JavaScript library
http://cubiq.org/iscroll
iScroll
http://www.google.com/search?q=underscore+js&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
underscore js - Google Search
http://documentcloud.github.com/underscore/
Underscore.js
http://sass-lang.com/
Sass - Syntactically Awesome Stylesheets
http://compass-style.org/
Compass Home | Compass Documentation
http://lesscss.org/
LESS « The Dynamic Stylesheet language
http://coffeescript.org/
CoffeeScript
http://requirejs.org/
RequireJS
http://www.google.com/search?q=node+js&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
node js - Google Search
http://en.wikipedia.org/wiki/Nodejs
Node.js - Wikipedia, the free encyclopedia
http://nodejs.org/
node.js
http://en.wikipedia.org/wiki/Content_delivery_network
Content delivery network - Wikipedia, the free encyclopedia


http://www.codecademy.com/#!/exercises/0
Learn to code | Codecademy
http://www.codecademy.com/jobs
Jobs | Codecademy
http://documentcloud.github.com/backbone/
Backbone.js
http://documentcloud.github.com/backbone/#examples
Backbone.js
http://m.airbnb.com/
Airbnb Mobile
http://handlebarsjs.com/
Handlebars.js: Minimal Templating on Steroids
http://zeptojs.com/
Zepto.js: the aerogel-weight jQuery-compatible JavaScript library
http://sass-lang.com/
Sass - Syntactically Awesome Stylesheets
http://cubiq.org/iscroll
iScroll


other relevant links:
http://docs.python.org/library/imaplib.html
20.10. imaplib — IMAP4 protocol client — Python v2.7.2 documentation
http://www.doughellmann.com/PyMOTW/imaplib/
imaplib - IMAP4 client library - Python Module of the Week
http://docs.python.org/library/email
18.1. email — An email and MIME handling package — Python v2.7.2 documentation
http://docs.python.org/library/email.util.html
18.1.9. email: Miscellaneous utilities — Python v2.7.2 documentation
http://docs.python.org/library/email.parser.html
18.1.2. email: Parsing email messages — Python v2.7.2 documentation

http://imapclient.freshfoo.com/
IMAPClient

http://verpa.wordpress.com/2010/01/23/python-gmail-imap-part-1/
Python Gmail IMAP : part 1 « Loose Morels
http://verpa.wordpress.com/2010/01/23/python-gmail-imap-part-2/
Python Gmail IMAP : part 2 « Loose Morels
http://verpa.wordpress.com/2010/01/23/python-gmail-imap-part-3/
Python Gmail IMAP : part 3 « Loose Morels
http://verpa.wordpress.com/2010/01/23/python-gmail-imap-part-4/
Python Gmail IMAP : part 4 « Loose Morels