Don't attempt to setchanges or fetch messages if we know we don't have any.