Implemented basic inbox functionality