Support inbox when publishing

Signed-off-by: Kai Zhang <kaizhang@cn.ibm.com>