CREATE index  idx_messages_unread_agg ON messages (read, isoutbound)
WHERE read = false AND isoutbound = false;
