JC-1578 Added check on the inbox.jsp