API: Make schema for inbox more useful