getInboxMessagesByAddress use actual encoding type

...type saved in table