I've often heard this pattern, particularly in things like
メッセージ／メール を ありがとうございます。
ありがとうございます is an adjective, why is it acceptable to use
を in this situation? That seems about as grammatically correct as saying something like
Is there some kind of underlying grammatical-correctness to this, or is this just something that was misused and then became acceptable over time?