* inbox: use pgp encryption && other fixes
* fix inbox key last used at time
* remove inbox items if keys change or same item id syncs
* inbox:update inbox sync item
* rename item field to sync
* add alg field
* sync: delete inbox items after commit succeeds
* user: merge if conditions
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
* inbox: add GET public inbox key && POST inbox items endpoint
* inbox: update SyncItem to support inbox items
* inbox: update post inbox items request payload
* inbox: update post inbox item endpoint
this adds a new UserId index in all the notesnook collections which
helps to speed up the deletion time during account reset & delete.
This fixes the request timeout issues during both of these processes.