[api] Add message actions: set read/unread, archive/unarchive.