Sign in to your Gmail account from your desktop. Click on the Settings icon in the top-right corner, then choose See all settings. Check Last Account Activity : Scroll down to the bottom-right ...
You could spend hours deleting all your spam emails and unsubscribing to newsletters you no longer read. Or, you could try this hack to clean out your inbox in one go.