Update imap_inbox_comparer_with_logging.py

If emails are removed from inbox the old code would crash. This is now fixed.