add function to mark read by message-id. return message-id in message details. improve search criteria