Αποστολή με SMS: Hypertree Decompositions and Tractable Queries