added method cleanInbox()

added method cleanInbox()