added some documentation to imapwidget.py