Sanebox acts as an AI email assistant by automatically sorting emails into different folders like Inbox, SaneLater, and SaneNews, based on their importance. It also personalizes its algorithm over time, studying user behavior to make better email management suggestions.