Some other queries reduced to a function getMessageInfo

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #345 from emanuele45/getMessageInfo

Some other queries reduced to a function getMessageInfo