Unfortunately, Qualcomm doesn't want to release the spec. for their .toc index files. So what I have done so far is very limited, and helps only to manipulate the message files (.mbx). If they are changed, status (read/unread etc...) and label information is lost.