Why not `last_ok = (mbox.last_uid == len_mbox)`. I don't mind this line actually, I'm just curious whether there's a reason.