More pythonic error handling
Make imap.py executable