Google said Friday an inadvertent bug had made its email filters go haywire, rerouting messages in a way that made users believe it had lost its sense of judgment over what messages deserved to land on top of the pile -- and at the worst possible time of the year, when retailers flood consumers with holiday shopping pitches.