framework for inbox