Unique address tracking indexes for message store models

The message store models need indexes similar to the ones added in #864 but with the to/from addresses included.