Machine Learning for Email Spam Filtering and Priority Inbox