Fix an issue with refreshing the gmail inbox to make sure messages were deleted.