Anyway very good

About the themes ...

Thanks a lot for this very nice screenlet.
I have just a question about the themes. I tried to change the .PNG file in usr/local/share/Screenlets/Gmail/themes but when I want to chose a new theme, it doesn't work. What should I do to create a new theme ?
Thanks in advance for your answer.

error

I just cannot get it running :(. I get the following errors on start:

CachingBackend: Loading instances from cache
CachingBackend: Loading <Gmail1>
Error in screenlets.session.connect_daemon: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.ScreenletsDaemon was not provided by any .service files
Found a running session of Gmail, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Gmail was not provided by any .service files
Loading instances in: /home/cm/.config/Screenlets/Gmail/default/
File: Gmail1.ini
Creating new instance:
UPDATING SHAPE
UPDATING SHAPE
Set options in GmailScreenlet
HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Temporarily
No messages found
Traceback (most recent call last):
File "./GmailScreenlet.py", line 296, in <module>
screenlets.session.create_session(GmailScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 392, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 177, in start
if self.__load_instances():
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 319, in __load_instances
self.__restore_options_from_backend(sl, self.path+filename)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 345, in __restore_options_from_backend
setattr(screenlet, opt.name, opt.on_import(opts[o]))
File "./GmailScreenlet.py", line 81, in __setattr__
self.update()
File "./GmailScreenlet.py", line 95, in update
self.check()
File "./GmailScreenlet.py", line 120, in check
self.ms = self.ga.getunreadInfo()
File "/home/cm/.screenlets/Gmail/libgmail.py", line 526, in getunreadInfo
return self.inboxunread[0][:1]
TypeError: 'NoneType' object is unsubscriptable