basic message listing functionality